diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-10-23 13:06:44 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-10-23 13:06:44 -0400 |
commit | d2d5e5ad2e4b61493d27bfe8c9341fd81f703ae9 (patch) | |
tree | d2f69694f7a3bb7f3383b700ffe4f06188b493b6 /tests/bfs/printf_color.sh | |
parent | 62415c0d1530f271ce9d417fa075ac00b9473f1e (diff) | |
download | bfs-d2d5e5ad2e4b61493d27bfe8c9341fd81f703ae9.tar.xz |
tests/bfs/printf_color: Fix race condition
Invoking bfs in the top directory can lead it to explore other tests'
scratch directories, so explicitly exclude them.
Diffstat (limited to 'tests/bfs/printf_color.sh')
-rw-r--r-- | tests/bfs/printf_color.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bfs/printf_color.sh b/tests/bfs/printf_color.sh index 7bb38c2..3641ddb 100644 --- a/tests/bfs/printf_color.sh +++ b/tests/bfs/printf_color.sh @@ -1 +1 @@ -bfs_diff -color -path './rainbow*' -printf '%H %h %f %p %P %l\n' +bfs_diff -color -exclude \( -depth 1 -not -name rainbow \) -printf '%H %h %f %p %P %l\n' |