Don't leave cruft behind on the test device's filesystem, so as to
avoid filling it with debris.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
_cleanup()
{
cd /
- # rm -rf "$tmp".* "$TESTDIR1"
+ rm -rf "$tmp".* "$TESTDIR1"
}
# get standard environment, filters and checks
_cleanup()
{
cd /
- # rm -rf "$tmp".* "$TESTDIR1"
+ rm -rf "$tmp".* "$TESTDIR1"
}
# get standard environment, filters and checks
{
cd /
umount "$SCRATCH_MNT" > /dev/null 2>&1
- rm -rf "$tmp".* "$TESTDIR" "$METADUMP_FILE"
+ rm -rf "$tmp".* "$TESTDIR" "$METADUMP_FILE" "$TEST_DIR/image"
}
# get standard environment, filters and checks