From a6894d063c16300995b41ce0f1846040dda2c6ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 21 Apr 2008 14:47:56 +0200 Subject: [PATCH] tests: skip (don't fail) rm/one-file-system when mount --bind fails * tests/rm/one-file-system: Reported by Allen Hewes. --- THANKS | 1 + tests/rm/one-file-system | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 703ef8d..df84761 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 1cc4bfb..abb12d4 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 -- 2.7.4