@@ -37,7 +37,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
@@ -37,7 +37,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
@@ -35,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
- rm -f $tmp.*
+ rm -f $tmp.* "$TESTDIR"
}
# get standard environment, filters and checks
@@ -32,7 +32,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
- # rm -rf "$tmp".* "$TESTDIR1"
+ rm -rf "$tmp".* "$TESTDIR1"
}
# get standard environment, filters and checks
@@ -32,7 +32,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
- # rm -rf "$tmp".* "$TESTDIR1"
+ rm -rf "$tmp".* "$TESTDIR1"
}
# get standard environment, filters and checks
@@ -35,7 +35,7 @@ _cleanup()
{
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
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> --- tests/generic/110 | 2 +- tests/generic/111 | 2 +- tests/generic/115 | 2 +- tests/generic/159 | 2 +- tests/generic/160 | 2 +- tests/xfs/129 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html