From a6894d063c16300995b41ce0f1846040dda2c6ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 21 Apr 2008 14:47:56 +0200 Subject: tests: skip (don't fail) rm/one-file-system when mount --bind fails * tests/rm/one-file-system: Reported by Allen Hewes. --- tests/rm/one-file-system | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/rm') 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 -- cgit v1.2.3-54-g00ecf