From: David Disseldorp Date: Mon, 6 Nov 2006 02:52:23 +0000 (+0000) Subject: cleanup xfs_copy images after running test X-Git-Tag: v1.1.0~561 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f3cc085bbc209343beb238aad1f2e5016c0fa831;p=xfstests-dev.git cleanup xfs_copy images after running test Merge of master-melb:xfs-cmds:27351a by kenmcd. --- diff --git a/073 b/073 index a06651d6..1d6919ad 100755 --- a/073 +++ b/073 @@ -21,9 +21,9 @@ _cleanup() cd / umount $SCRATCH_MNT 2>/dev/null umount $tmp.loop 2>/dev/null - #[ -d $tmp.loop ] && rmdir $tmp.loop - #[ -d $tmp.source_dir ] && rmdir $tmp.source_dir - #rm -f $tmp.* /var/tmp/xfs_copy.log.* + [ -d $tmp.loop ] && rmdir $tmp.loop + [ -d $tmp.source_dir ] && rmdir $tmp.source_dir + rm -f $tmp.* /var/tmp/xfs_copy.log.* } trap "_cleanup; exit \$status" 0 1 2 3 15