mirror of https://github.com/vitalif/e2fsprogs
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
parent
cd538080ab
commit
cc8fb0e69d
|
@ -94,7 +94,8 @@ $TUNE2FS -c 20 -U clear $TMPFILE >/dev/null 2>&1
|
||||||
echo dumpe2fs test.img >> $OUT
|
echo dumpe2fs test.img >> $OUT
|
||||||
$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $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
|
cmp -s $OUT $EXP
|
||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
|
|
|
@ -80,8 +80,7 @@ $TUNE2FS -c 20 -U clear $TMPFILE >/dev/null 2>&1
|
||||||
echo dumpe2fs test.img >> $OUT
|
echo dumpe2fs test.img >> $OUT
|
||||||
$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT
|
$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT
|
||||||
|
|
||||||
|
rm -f $test_name.ok $test_name.failed $TMPFILE
|
||||||
rm -f $test_name.ok $test_name.failed
|
|
||||||
cmp -s $OUT $EXP
|
cmp -s $OUT $EXP
|
||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue