From: Alex Elder Date: Fri, 4 Mar 2011 20:22:10 +0000 (+0000) Subject: xfstests: make 127 and 134 clean up after themselves X-Git-Tag: v1.1.0~80 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=4f8a4bcd1a9d60b76f09cf2601000da847e70613 xfstests: make 127 and 134 clean up after themselves Tests 127 and 134 leave temp files around when they complete. Fix (or enable) their cleanup functions to remedy this. Signed-off-by: Alex Elder Reviewed-by: Eric Sandeen --- diff --git a/127 b/127 index 8a61ffb6..62e584c5 100755 --- a/127 +++ b/127 @@ -38,6 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { + rm -f $tmp.output _cleanup_testdir } diff --git a/134 b/134 index 0f97e18c..73171681 100755 --- a/134 +++ b/134 @@ -43,8 +43,7 @@ _cleanup() umount $SCRATCH_MNT 2>/dev/null rm -f $tmp.* } -#trap "_cleanup; exit \$status" 0 1 2 3 15 - +trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs xfs