summaryrefslogtreecommitdiffstats
path: root/tests/common/delete_many.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/delete_many.sh')
-rw-r--r--tests/common/delete_many.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/common/delete_many.sh b/tests/common/delete_many.sh
new file mode 100644
index 0000000..6446f93
--- /dev/null
+++ b/tests/common/delete_many.sh
@@ -0,0 +1,8 @@
+# Test for https://github.com/tavianator/bfs/issues/67
+
+rm -rf scratch/*
+mkdir scratch/foo
+$TOUCH scratch/foo/{1..256}
+
+invoke_bfs scratch/foo -delete
+bfs_diff scratch