]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: wc,du: add additional --files0-from test cases
authorCollin Funk <collin.funk1@gmail.com>
Sun, 1 Mar 2026 02:36:34 +0000 (18:36 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 1 Mar 2026 02:36:34 +0000 (18:36 -0800)
commit236df1fa6a980eccd2bab1ff892746d5e261d7f7
tree9ecc6d11cd8f19f9e74c5b1136f6a05792ae8cbc
parent3685407e918761ab0c9f5c41bbbe5ba05462edee
tests: wc,du: add additional --files0-from test cases

* tests/wc/wc-files0-from.pl ($limits): New variable.
(@Tests): Prefer the error strings from getlimits over writing them by
hand. Add test cases for --files0-from listing missing files and
duplicate files.
* tests/du/files0-from.pl ($limits): New variable.
(@Tests): Prefer the error strings from getlimits over writing them by
hand. Add test cases for --files0-from listing missing files. Add tests
for --files0-from listing duplicate files with and without the -l option
also in use.
tests/du/files0-from.pl
tests/wc/wc-files0-from.pl