summaryrefslogtreecommitdiffstats
path: root/tests/gnu/ok_files0_from_stdin.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-04-01 06:50:26 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-04-01 07:28:02 -0400
commita662fda2642e17478bc8e78adb4c6642a8505cdb (patch)
tree95107aed722b822a72856f75bd2746b0318885b8 /tests/gnu/ok_files0_from_stdin.sh
parentb1fe97289315cfb6278eec4554b92776df98f28d (diff)
downloadbfs-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/gnu/ok_files0_from_stdin.sh')
-rw-r--r--tests/gnu/ok_files0_from_stdin.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gnu/ok_files0_from_stdin.sh b/tests/gnu/ok_files0_from_stdin.sh
new file mode 100644
index 0000000..2c4de7b
--- /dev/null
+++ b/tests/gnu/ok_files0_from_stdin.sh
@@ -0,0 +1 @@
+! printf 'basic\0' | invoke_bfs -ok echo {} \; -files0-from -