mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
cleanup xfs_copy images after running test
Merge of master-melb:xfs-cmds:27351a by kenmcd.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user