From: Dave Chinner <dchinner@xxxxxxxxxx> A couple of tests leave behind large files or directory structures when they complete, which leads to small TEST_DEVs running out of space during other tests. Make those space hogs clean up after themselves so that random tests don't fail with ENOSPC errors. Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> --- tests/generic/070 | 1 + tests/xfs/292 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/generic/070 b/tests/generic/070 index 3c88df0..f593d84 100755 --- a/tests/generic/070 +++ b/tests/generic/070 @@ -34,6 +34,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { cd / + rm -rf $TEST_DIR/fsstress rm -f $tmp.* } diff --git a/tests/xfs/292 b/tests/xfs/292 index d67db47..2910118 100755 --- a/tests/xfs/292 +++ b/tests/xfs/292 @@ -57,6 +57,8 @@ mkfs.xfs -f $fsfile 2>&1 | sed -e "s:$fsfile:FILENAME:g" | grep meta-data echo "mkfs.xfs with cmdline geometry" mkfs.xfs -f -d su=16k,sw=5 $fsfile 2>&1 | sed -e "s:$fsfile:FILENAME:g" | grep meta-data +rm -f $fsfile + # success, all done status=0 exit -- 1.9.0 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs