summaryrefslogtreecommitdiffstats
path: root/tests/common/execdir_ulimit.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-10-20 13:21:41 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-10-20 13:21:41 -0400
commit55a1ad42bd172aa235015b88c092a225ec7f4862 (patch)
treeffe5cc53024ee1a8c9a7c7029671bae7852025c9 /tests/common/execdir_ulimit.sh
parent4ec966263444dfae8837cd73b980cfdb9aabd93f (diff)
downloadbfs-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/execdir_ulimit.sh')
-rw-r--r--tests/common/execdir_ulimit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/execdir_ulimit.sh b/tests/common/execdir_ulimit.sh
index 6da8783..8bd9edd 100644
--- a/tests/common/execdir_ulimit.sh
+++ b/tests/common/execdir_ulimit.sh
@@ -1,4 +1,4 @@
-rm -rf scratch/*
+clean_scratch
mkdir -p scratch/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z
mkdir -p scratch/a/b/c/d/e/f/g/h/i/j/k/l/m/0/1/2/3/4/5/6/7/8/9/A/B/C