diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-10-20 13:21:41 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-10-20 13:21:41 -0400 |
commit | 55a1ad42bd172aa235015b88c092a225ec7f4862 (patch) | |
tree | ffe5cc53024ee1a8c9a7c7029671bae7852025c9 /tests/common/delete_many.sh | |
parent | 4ec966263444dfae8837cd73b980cfdb9aabd93f (diff) | |
download | bfs-55a1ad42bd172aa235015b88c092a225ec7f4862.tar.xz |
tests: Add a helper for cleaning scratch
And try to unmount things if the a test left them mounted.
Diffstat (limited to 'tests/common/delete_many.sh')
-rw-r--r-- | tests/common/delete_many.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/delete_many.sh b/tests/common/delete_many.sh index 6446f93..6f54825 100644 --- a/tests/common/delete_many.sh +++ b/tests/common/delete_many.sh @@ -1,6 +1,6 @@ # Test for https://github.com/tavianator/bfs/issues/67 -rm -rf scratch/* +clean_scratch mkdir scratch/foo $TOUCH scratch/foo/{1..256} |