Whamcloud - gitweb
Fix Solaris portability bug in the resize tests.
authorTheodore Ts'o <tytso@mit.edu>
Wed, 26 Jan 2005 18:34:57 +0000 (13:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 26 Jan 2005 18:34:57 +0000 (13:34 -0500)
tests/r_move_itable/script
tests/r_resize_inode/script

index 3679811..6603bb5 100644 (file)
@@ -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 
index 7feb543..ce5a133 100644 (file)
@@ -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