aboutsummaryrefslogtreecommitdiffstats
path: root/tests/r_resize_inode
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-09-07 17:03:48 -0400
committerTheodore Ts'o <tytso@mit.edu>2007-09-07 17:03:48 -0400
commitcc8fb0e69dfa57a8c09465b472b53d40eecf93fa (patch)
tree027ceef570ad549a894fad0915ac172b46a6974b /tests/r_resize_inode
parentcd538080ab6e4bf64886b42f0bfa2fa47d44d20d (diff)
downloadandroid_external_e2fsprogs-cc8fb0e69dfa57a8c09465b472b53d40eecf93fa.tar.gz
android_external_e2fsprogs-cc8fb0e69dfa57a8c09465b472b53d40eecf93fa.tar.bz2
android_external_e2fsprogs-cc8fb0e69dfa57a8c09465b472b53d40eecf93fa.zip
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>
Diffstat (limited to 'tests/r_resize_inode')
-rw-r--r--tests/r_resize_inode/script3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/r_resize_inode/script b/tests/r_resize_inode/script
index 5422d3b5..ff6eb503 100644
--- a/tests/r_resize_inode/script
+++ b/tests/r_resize_inode/script
@@ -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=$?