summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-21 14:47:56 +0200
committerJim Meyering <meyering@redhat.com>2008-04-21 14:48:19 +0200
commita6894d063c16300995b41ce0f1846040dda2c6ff (patch)
tree2e1cda2b6dfdb90603d54840ec51df24e5691bfe /tests/rm
parent90bc2fe272debe8540a59b9a1e565c43e87e4635 (diff)
downloadcoreutils-a6894d063c16300995b41ce0f1846040dda2c6ff.tar.xz
tests: skip (don't fail) rm/one-file-system when mount --bind fails
* tests/rm/one-file-system: Reported by Allen Hewes.
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/one-file-system3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system
index 1cc4bfb9d..abb12d4bf 100755
--- a/tests/rm/one-file-system
+++ b/tests/rm/one-file-system
@@ -31,7 +31,8 @@ cleanup_() { rm -rf "$other_partition_tmpdir"; }
t=$other_partition_tmpdir
mkdir -p a/b $t/y
-mount --bind $t a/b || framework_failure
+mount --bind $t a/b \
+ || skip_test_ "This test requires mount with a working --bind option."
cat <<\EOF > exp || framework_failure
rm: skipping `a/b', since it's on a different device