summaryrefslogtreecommitdiffstats
path: root/tests/posix/L_loops.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/L_loops.sh')
-rw-r--r--tests/posix/L_loops.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/posix/L_loops.sh b/tests/posix/L_loops.sh
new file mode 100644
index 0000000..f737cea
--- /dev/null
+++ b/tests/posix/L_loops.sh
@@ -0,0 +1,4 @@
+# POSIX says it's okay to either stop or keep going on seeing a filesystem
+# loop, as long as a diagnostic is printed
+errors=$(invoke_bfs -L loops 2>&1 >/dev/null)
+[ -n "$errors" ]