]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - tests/r_move_itable_realloc/script
tests: clean up $DEBUGFS_EXE usage in scripts
[thirdparty/e2fsprogs.git] / tests / r_move_itable_realloc / script
index c42ec045300458711b1fe264cbee2531c7e0fa96..7005bf805bd598185bcfa3e53c8736007c4c74c8 100644 (file)
@@ -10,7 +10,10 @@ if [ $(uname -s) = "Darwin" ]; then
        return 0
 fi
 
-if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
+if ! test -x $RESIZE2FS_EXE -o ! -x $DEBUGFS_EXE; then
+       echo "$test_name: $test_description: skipped (no debugfs/resize2fs)"
+       return 0
+fi
 
 FSCK_OPT=-yf
 OUT=$test_name.log
@@ -63,7 +66,3 @@ else
 fi
 
 unset IMAGE FSCK_OPT OUT EXP
-
-else #if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then
-       echo "$test_name: $test_description: skipped"
-fi