On Wed, May 18, 2022 at 02:32:28PM -0700, Eric Biggers wrote: > > This would break the test on systems that still have an older version of > coreutils, right? For example, currently kvm-xfstests test appliances are based > on Debian Bullseye by default, which isn't very old, but it has coreutils 8.32. Even Debian unstable is still using coreutils 8.32: https://packages.debian.org/search?keywords=coreutils&searchon=names&suite=all§ion=all > Can you filter the output to allow the test to pass with both old and new > coreutils versions? Gabriel, FYI, the filter functions live in common/filter. There are a large number of them see "git log common/filter" to see how they get added. For a really simple example, please see commit 90d132ee44b7: common/filter: add _filter_bash() This is needed to account for bash 5.1 adding line number annotation when executing a command via the -c option and it fails. For example, "bash -c 'echo foo > /'" will cause bash 5.1 to report: bash: line 1: /: Is a directory instead of: bash: /: Is a directory Cheers, - Ted