summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-04-18 12:59:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-04-18 12:59:20 -0400
commit6c150ac31512ce320b71999d034aa5c359cfc769 (patch)
tree13d6f3b74a221b73b8968ce3480c60561512045f /tests.sh
parentc94f29e4bb0406e0adf7ce3f9865091bcfdfc690 (diff)
downloadbfs-6c150ac31512ce320b71999d034aa5c359cfc769.tar.xz
tests: Optimize test_delete_many()
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 4d1ee57..0faee04 100755
--- a/tests.sh
+++ b/tests.sh
@@ -1871,7 +1871,8 @@ function test_delete_many() {
# Test for https://github.com/tavianator/bfs/issues/67
rm -rf scratch/*
- touchp scratch/foo/{1..256}
+ mkdir scratch/foo
+ touch scratch/foo/{1..256}
invoke_bfs scratch/foo -delete
bfs_diff scratch