summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-11-13 21:30:48 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-11-13 21:42:29 -0500
commit196cf9f617ca17acec75eafbcd9e5e7989752dcb (patch)
tree2240fb256e83c9bca18bed43591f6c2800c6a42a /tests.sh
parentf63aa21beaffbb8da4978bfa37f070170cb8122e (diff)
downloadbfs-196cf9f617ca17acec75eafbcd9e5e7989752dcb.tar.xz
Don't try to -delete the current directory.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index cf39fd6..d9ee9c9 100755
--- a/tests.sh
+++ b/tests.sh
@@ -448,7 +448,12 @@ function test_0081() {
find_diff "$basic/" -depth
}
-for i in {1..81}; do
+function test_0082() {
+ # Don't try to delete .
+ (cd "$scratch" && "$BFS" -delete)
+}
+
+for i in {1..82}; do
test="test_$(printf '%04d' $i)"
if [ -t 1 ]; then