From a8f7b6dbd743bc224e2a8616993c373e82072956 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 14 Nov 2018 00:08:11 -0500 Subject: 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. --- tests/test_L_loops_continue.out | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test_L_loops_continue.out (limited to 'tests/test_L_loops_continue.out') diff --git a/tests/test_L_loops_continue.out b/tests/test_L_loops_continue.out new file mode 100644 index 0000000..fbe0cac --- /dev/null +++ b/tests/test_L_loops_continue.out @@ -0,0 +1,11 @@ +loops +loops/broken +loops/deeply +loops/file +loops/notdir +loops/skip +loops/symlink +loops/deeply/nested +loops/skip/dir +loops/skip/loop +loops/deeply/nested/dir -- cgit v1.2.3