Whamcloud - gitweb
tests: cleanup tmpfile for the f_extent_htree
authorTheodore Ts'o <tytso@mit.edu>
Mon, 7 Mar 2016 02:22:13 +0000 (21:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Mar 2016 02:22:13 +0000 (21:22 -0500)
The interim hack to allow this test to work for the maint branch ends
up leaving the tmpfile around.  Clean this up.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_extent_htree/script

index 60854c6..35aaf19 100644 (file)
@@ -2,8 +2,9 @@
 
 FSCK_OPT="-fyvD"
 . $cmd_dir/run_e2fsck
+rm -f $TMPFILE
 
-exit $?
+exit 0
 # This script depends on "mke2fs -d", which is only in master and not maint,
 # to populate the file directory tree poorly (namely that there are no
 # contiguous blocks in the directory leaf and the extent tree is large).