Fix Solaris portability bug in the resize tests.

bitmap-optimize
Theodore Ts'o 2005-01-26 13:34:57 -05:00
parent dc2569739d
commit 06a6cbd2c8
2 changed files with 10 additions and 10 deletions

View 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

View 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