summaryrefslogtreecommitdiff
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
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.
-rw-r--r--THANKS1
-rwxr-xr-xtests/rm/one-file-system3
2 files changed, 3 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index 703ef8d2b..df8476158 100644
--- a/THANKS
+++ b/THANKS
@@ -21,6 +21,7 @@ Albert Hopkins ahopkins@dynacare.com
Alberto Accomazzi alberto@cfa0.harvard.edu
aldomel aldomel@ix.netcom.com
Alen Muzinic zveki@fly.cc.fer.hr
+Allen Hewes allen@decisiv.net
Axel Dörfler axeld@pinc-software.de
Alexandre Duret-Lutz duret_g@epita.fr
Alexey Solovyov alekso@math.uu.se
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