From 37b4f3c9450d61fadc888f83e2f547b2beb15980 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 1 Apr 2025 07:24:31 -0400 Subject: parse: Disallow -files0-from with explicit roots This matches the behaviour of GNU find. --- tests/bfs/files0_from_root.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/bfs/files0_from_root.sh (limited to 'tests/bfs/files0_from_root.sh') diff --git a/tests/bfs/files0_from_root.sh b/tests/bfs/files0_from_root.sh new file mode 100644 index 0000000..6ba5f00 --- /dev/null +++ b/tests/bfs/files0_from_root.sh @@ -0,0 +1,2 @@ +printf 'basic\0' >"$TEST/input" +! invoke_bfs basic -files0-from "$TEST/input" -- cgit v1.2.3