mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: cleanup space after test in TESTDIR
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@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
31a50c7a81
commit
ca931235b7
@@ -34,6 +34,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
_cleanup()
|
||||
{
|
||||
cd /
|
||||
rm -rf $TEST_DIR/fsstress
|
||||
rm -f $tmp.*
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user