Delete the test.img file after running the resize2fs tests

The resize2fs tests, r_move_itable and r_resize_inode, were not
deleting the test.img tmpfile after completing the test.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2007-09-07 17:03:48 -04:00
parent cd538080ab
commit cc8fb0e69d
2 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,8 @@ $TUNE2FS -c 20 -U clear $TMPFILE >/dev/null 2>&1
echo dumpe2fs test.img >> $OUT
$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT
rm -f $test_name.ok $test_name.failed
rm -f $test_name.ok $test_name.failed $TMPFILE
cmp -s $OUT $EXP
status=$?

View File

@ -80,8 +80,7 @@ $TUNE2FS -c 20 -U clear $TMPFILE >/dev/null 2>&1
echo dumpe2fs test.img >> $OUT
$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT
rm -f $test_name.ok $test_name.failed
rm -f $test_name.ok $test_name.failed $TMPFILE
cmp -s $OUT $EXP
status=$?