diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-11-14 00:08:11 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-11-14 00:08:11 -0500 |
commit | a8f7b6dbd743bc224e2a8616993c373e82072956 (patch) | |
tree | 4f1485d9ebea1bca3e8105f9a049169aa45f0aab /tests/test_colors.out | |
parent | 4b60aafc1185164cf48a0627bc3b092c6a79b3bc (diff) | |
download | bfs-a8f7b6dbd743bc224e2a8616993c373e82072956.tar.xz |
tests: Don't assume find continues after filesystem loops
POSIX says
> When it detects an infinite loop, find shall write a diagnostic
> message to standard error and shall either recover its position in the
> hierarchy or terminate.
So make the 'links' folder not have any loops, and add a new 'loops'
folder for testing the GNU/bfs behaviour.
Diffstat (limited to 'tests/test_colors.out')
-rw-r--r-- | tests/test_colors.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_colors.out b/tests/test_colors.out index 6f8c534..8f09546 100644 --- a/tests/test_colors.out +++ b/tests/test_colors.out @@ -3,10 +3,10 @@ [01;34mlinks/[0m[01;36mskip[0m [01;34mlinks/[0m[01;36msymlink[0m [01;34mlinks/[0m[40;31;01mbroken[0m -[01;34mlinks/[0m[40;31;01mloop[0m [01;34mlinks/[0m[40;31;01mnotdir[0m [01;34mlinks/[0mfile [01;34mlinks/[0mhardlink [01;34mlinks/deeply/[0m[01;34mnested[0m [01;34mlinks/deeply/nested/[0m[01;34mdir[0m -[01;34mlinks/deeply/nested/[0m[01;36mloop[0m +[01;34mlinks/deeply/nested/[0m[01;36mlink[0m +[01;34mlinks/deeply/nested/[0mfile |