tests: avoid false failure with BTRFS subvolumes
commit2a5494271c3ffa371cdc8773cd12682f3d5c678f
authorPádraig Brady <P@draigBrady.com>
Sat, 16 Jan 2016 13:34:07 +0000 (16 13:34 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 16 Jan 2016 13:36:57 +0000 (16 13:36 +0000)
treecd0592428cd22f23a2a0f44aea90fe92b4fc4e41
parent0d60653001d0fd56b36507ad00615bef18dc95a9
tests: avoid false failure with BTRFS subvolumes

* tests/df/df-symlink.sh: Only check the symmetry of
the source <-> target lookup, when the source is only mounted once,
which isn't the case if '.' is a BTRFS subvolume for example.
Reported by Assaf Gordon on a default OpenSUSE 42.1 install.
tests/df/df-symlink.sh