summaryrefslogtreecommitdiff
path: root/system/coreutils/test-df-symlink-bindmount.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/coreutils/test-df-symlink-bindmount.patch')
-rw-r--r--system/coreutils/test-df-symlink-bindmount.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/coreutils/test-df-symlink-bindmount.patch b/system/coreutils/test-df-symlink-bindmount.patch
new file mode 100644
index 000000000..34b334ba8
--- /dev/null
+++ b/system/coreutils/test-df-symlink-bindmount.patch
@@ -0,0 +1,11 @@
+--- 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
+@@ -34,7 +34,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 "$disk" | wc -l)" = 1; then
++if test "$(df --all --output=source | grep -F "$disk" | wc -l)" = 1; then
+ df --out=source,target '.' > out || fail=1
+ compare exp out || fail=1
+ fi