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_uninit_last_uninit | |
parent | f305fd7f0c65391819f9813512714c932965a842 (diff) | |
download | android_external_e2fsprogs-906a1cf9b60b336ccf44706c7f1906056282fbf0.tar.gz android_external_e2fsprogs-906a1cf9b60b336ccf44706c7f1906056282fbf0.tar.bz2 android_external_e2fsprogs-906a1cf9b60b336ccf44706c7f1906056282fbf0.zip |
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_uninit_last_uninit')
-rw-r--r-- | tests/f_uninit_last_uninit/script | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/f_uninit_last_uninit/script b/tests/f_uninit_last_uninit/script index 87003292..4fcab1b3 100644 --- a/tests/f_uninit_last_uninit/script +++ b/tests/f_uninit_last_uninit/script @@ -1,3 +1,5 @@ +if test -x $DEBUGFS_EXE; then + SKIP_GUNZIP="true" touch $TMPFILE @@ -18,3 +20,8 @@ export E2FSCK_TIME . $cmd_dir/run_e2fsck unset E2FSCK_TIME + +else #if test -x $DEBUGFS_EXE; then + rm -f $test_name.ok $test_name.failed + echo "skipped" +fi |