summaryrefslogtreecommitdiffstats
path: root/tests/common/delete.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/delete.sh')
-rw-r--r--tests/common/delete.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/common/delete.sh b/tests/common/delete.sh
new file mode 100644
index 0000000..4855d60
--- /dev/null
+++ b/tests/common/delete.sh
@@ -0,0 +1,7 @@
+rm -rf scratch/*
+touchp scratch/foo/bar/baz
+
+# Don't try to delete '.'
+(cd scratch && invoke_bfs . -delete)
+
+bfs_diff scratch