diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-02-28 22:10:06 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-02-28 22:10:06 -0500 |
commit | 39ce13d45c5881d84e2de98243052811e3648224 (patch) | |
tree | 3b6779b2243faca0a1f94077bca478720c91d89d | |
parent | 8bc72d6c20c5e38783c4956c4d9fde9b3ee9140c (diff) | |
download | bfs-39ce13d45c5881d84e2de98243052811e3648224.tar.xz |
tests/bfs/D_opt: Don't rely on directory link counts
Fixes: https://github.com/tavianator/bfs/issues/131
-rw-r--r-- | tests/bfs/D_opt.out | 11 | ||||
-rw-r--r-- | tests/bfs/D_opt.sh | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/tests/bfs/D_opt.out b/tests/bfs/D_opt.out index 3b461cf..6218a0c 100644 --- a/tests/bfs/D_opt.out +++ b/tests/bfs/D_opt.out @@ -1,18 +1,7 @@ basic/a basic/b -basic/c basic/c/d -basic/e basic/e/f -basic/g -basic/g/h -basic/i -basic/j basic/j/foo -basic/k -basic/k/foo basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar basic/l/foo/bar/baz diff --git a/tests/bfs/D_opt.sh b/tests/bfs/D_opt.sh index d95cf86..c14fe70 100644 --- a/tests/bfs/D_opt.sh +++ b/tests/bfs/D_opt.sh @@ -1 +1 @@ -bfs_diff -D opt -nohidden -not \( -type b -o -type c \) -links -5 -links -10 -not -hidden basic +bfs_diff -D opt -nohidden -not \( -type c -o -type d \) -links -5 -links -10 -not -hidden basic |