diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-03 10:04:37 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-03 10:04:37 -0400 |
commit | 906a1cf9b60b336ccf44706c7f1906056282fbf0 (patch) | |
tree | b643c0774ef9ce70008147af06c7f27aa48496c6 /tests/f_dup4 | |
parent | f305fd7f0c65391819f9813512714c932965a842 (diff) | |
download | e2fsprogs-906a1cf9b60b336ccf44706c7f1906056282fbf0.tar.gz |
tests: skip tests that require debugfs if debugfs has not been built
Avoid lots of tests failing if e2fsprogs is compiled with
--disable-debugfs.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_dup4')
-rw-r--r-- | tests/f_dup4/script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/f_dup4/script b/tests/f_dup4/script index 350f88e6..290dcc92 100644 --- a/tests/f_dup4/script +++ b/tests/f_dup4/script @@ -1,3 +1,5 @@ +if test -x $DEBUGFS_EXE; then + SKIP_GUNZIP="true" TEST_DATA="test.data" @@ -48,3 +50,8 @@ export E2FSCK_TIME rm -f $TEST_DATA unset E2FSCK_TIME TEST_DATA + +else #if test -x $DEBUGFS_EXE; then + rm -f $test_name.ok $test_name.failed + echo "skipped" +fi |