summaryrefslogblamecommitdiff
path: root/system/coreutils/test-df-symlink-bindmount.patch
blob: cd44c906682b6cd25d5023fbdaf156272771ba66 (plain) (tree)
1
2
3
4
5
6
7
8

                                                                                   
                 


                                                                   

                                                                                 


                                                                             
--- coreutils-8.31/tests/df/df-symlink.sh	2019-01-05 05:36:22.000000000 -0500
+++ coreutils-8.31/tests/df/df-symlink.sh	2019-05-30 23:57:10.260506897 -0400
@@ -35,7 +35,7 @@
 # I.e., '.' => /dev/mapper/fedora-home -> /dev/dm-2
 # Restrict this test to systems with a 1:1 mapping between
 # source and target.  This excludes for example BTRFS sub-volumes.
-if test "$(df --output=source | grep -F "$file_system" | wc -l)" = 1; then
+if test "$(df --all --output=source | grep -F "$file_system" | wc -l)" = 1; then
   # Restrict to systems with a single file system root (and have findmnt(1))
   if test "$(findmnt -nro FSROOT | uniq | wc -l)" =  1; then
     df --out=source,target '.' > out || fail=1