From 53b2d09fdbbcb9893319e0a7a1b762804163d15b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 24 Oct 2016 14:16:03 -0400 Subject: tests: Be more careful not to invoke remove-siblings.sh $scratch. --- tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3