diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-04-01 06:50:26 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-04-01 07:28:02 -0400 |
commit | a662fda2642e17478bc8e78adb4c6642a8505cdb (patch) | |
tree | 95107aed722b822a72856f75bd2746b0318885b8 /tests/bfs | |
parent | b1fe97289315cfb6278eec4554b92776df98f28d (diff) | |
download | bfs-a662fda2642e17478bc8e78adb4c6642a8505cdb.tar.xz |
parse: Only process the last -files0-from
GNU find intentionally makes later -files0-from options override earlier
ones, for symmetry with similar features like du --files0-from. Change
bfs to match.
Link: https://savannah.gnu.org/bugs/?66965
Diffstat (limited to 'tests/bfs')
-rw-r--r-- | tests/bfs/files0_from_stdin_twice.sh | 1 | ||||
-rw-r--r-- | tests/bfs/files0_from_twice.out | 4 | ||||
-rw-r--r-- | tests/bfs/files0_from_twice.sh | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/tests/bfs/files0_from_stdin_twice.sh b/tests/bfs/files0_from_stdin_twice.sh deleted file mode 100644 index 752e9de..0000000 --- a/tests/bfs/files0_from_stdin_twice.sh +++ /dev/null @@ -1 +0,0 @@ -! invoke_bfs -files0-from - -files0-from - </dev/null diff --git a/tests/bfs/files0_from_twice.out b/tests/bfs/files0_from_twice.out deleted file mode 100644 index 5087ae9..0000000 --- a/tests/bfs/files0_from_twice.out +++ /dev/null @@ -1,4 +0,0 @@ -basic/c -basic/c/d -basic/g -basic/g/h diff --git a/tests/bfs/files0_from_twice.sh b/tests/bfs/files0_from_twice.sh deleted file mode 100644 index 1119952..0000000 --- a/tests/bfs/files0_from_twice.sh +++ /dev/null @@ -1,3 +0,0 @@ -printf 'basic/c\0' >"$TEST/in1" -printf 'basic/g\0' >"$TEST/in2" -bfs_diff -files0-from "$TEST/in1" -files0-from "$TEST/in2" |