summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-10-24 14:16:03 -0400
committerTavian Barnes <tavianator@tavianator.com>2016-10-24 14:16:03 -0400
commit53b2d09fdbbcb9893319e0a7a1b762804163d15b (patch)
tree2b19010905e2b3a85d4e2c3d85687107a2222937
parent3c8233869d34713860c48b1230c3ea06b8767b88 (diff)
downloadbfs-53b2d09fdbbcb9893319e0a7a1b762804163d15b.tar.xz
tests: Be more careful not to invoke remove-siblings.sh $scratch.
-rwxr-xr-xtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 2206877..e61ffcc 100755
--- a/tests.sh
+++ b/tests.sh
@@ -388,7 +388,7 @@ function test_0069() {
touch "$scratch"/{foo,bar}
# -links 1 forces a stat() call, which will fail for the second file
- "$BFS" "$scratch" -ignore_readdir_race -links 1 -exec ./tests/remove-sibling.sh '{}' ';'
+ "$BFS" "$scratch" -mindepth 1 -ignore_readdir_race -links 1 -exec ./tests/remove-sibling.sh '{}' ';'
}
for i in {1..69}; do