From d66091126a729ffbdc53ac52cf31cb0b30e6711e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Nov 2006 09:32:55 +0100 Subject: [PATCH] * tests/rm/one-file-system: Upon setup failure (e.g., mount failure), skip the test rather than failing. Reported by Michael Deutschmann. --- ChangeLog | 3 +++ tests/rm/one-file-system | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c999f4..3ac63fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-11-21 Jim Meyering + * tests/rm/one-file-system: Upon setup failure (e.g., mount failure), + skip the test rather than failing. Reported by Michael Deutschmann. + * tests/rm/fail-eperm: Use the "(exit N); exit N" idiom, rather than just "exit N". diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system index bb7ffeb..66c04d5 100755 --- a/tests/rm/one-file-system +++ b/tests/rm/one-file-system @@ -51,8 +51,8 @@ rm: skipping `a/b', since it's on a different device EOF if test $framework_failure = 1; then - echo "$0: failure in testing framework" 1>&2 - (exit 1); exit 1 + echo "$0: setup failed; skipping this test" 1>&2 + (exit 77); exit 77 fi fail=0 -- 2.7.4