summaryrefslogtreecommitdiff
path: root/tests/f_resize_inode/script
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-03 10:04:37 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-03 10:04:37 -0400
commit906a1cf9b60b336ccf44706c7f1906056282fbf0 (patch)
treeb643c0774ef9ce70008147af06c7f27aa48496c6 /tests/f_resize_inode/script
parentf305fd7f0c65391819f9813512714c932965a842 (diff)
downloade2fsprogs-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_resize_inode/script')
-rw-r--r--tests/f_resize_inode/script6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/f_resize_inode/script b/tests/f_resize_inode/script
index 327f41ba..a010fd98 100644
--- a/tests/f_resize_inode/script
+++ b/tests/f_resize_inode/script
@@ -1,3 +1,5 @@
+if test -x $DEBUGFS_EXE; then
+
printf "e2fsck with resize_inode: "
FSCK_OPT=-yf
OUT=$test_name.log
@@ -138,3 +140,7 @@ fi
unset IMAGE FSCK_OPT OUT EXP
+else #if test -x $DEBUGFS_EXE; then
+ rm -f $test_name.ok $test_name.failed
+ echo "skipped"
+fi