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: https://www.infradead.org/git/?a=commitdiff_plain;h=4f8a4bcd1a9d60b76f09cf2601000da847e70613;p=users%2Fhch%2Fxfstests-dev.git 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 8a61ffb63..62e584c50 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 0f97e18c9..731716814 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