From: Theodore Ts'o Date: Wed, 26 Jan 2005 18:34:57 +0000 (-0500) Subject: Fix Solaris portability bug in the resize tests. X-Git-Tag: E2FSPROGS-1_36~22 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=06a6cbd2c8d927760c1dcf0990c6ea5bf831dcee;p=tools%2Fe2fsprogs.git Fix Solaris portability bug in the resize tests. --- diff --git a/tests/r_move_itable/script b/tests/r_move_itable/script index 3679811..6603bb5 100644 --- a/tests/r_move_itable/script +++ b/tests/r_move_itable/script @@ -1,9 +1,6 @@ echo -n "resize2fs with resize_inode: " -if ! test -x $RESIZE2FS; then - rm -f $test_name.ok $test_name.failed - echo "skipped" -else +if test -x $RESIZE2FS; then FSCK_OPT=-yf OUT=$test_name.log @@ -112,4 +109,7 @@ fi unset IMAGE FSCK_OPT OUT EXP -fi #if test -x $RESIZE2FS; then +else #if test -x $RESIZE2FS; then + rm -f $test_name.ok $test_name.failed + echo "skipped" +fi diff --git a/tests/r_resize_inode/script b/tests/r_resize_inode/script index 7feb543..ce5a133 100644 --- a/tests/r_resize_inode/script +++ b/tests/r_resize_inode/script @@ -1,9 +1,6 @@ echo -n "resize2fs with resize_inode: " -if ! test -x $RESIZE2FS; then - rm -f $test_name.ok $test_name.failed - echo "skipped" -else +if test -x $RESIZE2FS; then FSCK_OPT=-yf OUT=$test_name.log @@ -99,4 +96,7 @@ fi unset IMAGE FSCK_OPT OUT EXP -fi #if test -x $RESIZE2FS; then +else #if test -x $RESIZE2FS; then + rm -f $test_name.ok $test_name.failed + echo "skipped" +fi