diff options
Diffstat (limited to 'tests/d_dumpe2fs_group_only/script')
-rw-r--r-- | tests/d_dumpe2fs_group_only/script | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/d_dumpe2fs_group_only/script b/tests/d_dumpe2fs_group_only/script index 50481f02..c3ab7e2b 100644 --- a/tests/d_dumpe2fs_group_only/script +++ b/tests/d_dumpe2fs_group_only/script @@ -4,7 +4,10 @@ if [ $(uname -s) = "Darwin" ]; then return 0 fi -if test -x $DEBUGFS_EXE; then +if ! test -x $DEBUGFS_EXE; then + echo "$test_name: $test_description: skipped (no debugfs)" + return 0 +fi FSCK_OPT=-fy OUT=$test_name.log @@ -43,7 +46,3 @@ else fi unset IMAGE FSCK_OPT OUT EXP - -else #if test -x $DEBUGFS_EXE; then - echo "$test_name: $test_description: skipped" -fi |