]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: cat: avoid false failure on systems without splice
authorPádraig Brady <P@draigBrady.com>
Tue, 7 Apr 2026 11:20:10 +0000 (12:20 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 7 Apr 2026 11:20:10 +0000 (12:20 +0100)
commitaaae9d0db6cd20d40f50dbc449cedc6dd43c73e7
tree71c340c4d3f6d6d151c0ec05f5d09608940b0884
parent457f88513a128ce91160c4a60f821cc1612204be
tests: cat: avoid false failure on systems without splice

* tests/cat/splice.sh: Ensure splice is called multiple times
before we check specific invocation counts.
On Linux kernel 5.10 for example, splice from /dev/zero
returns EINVAL.
tests/cat/splice.sh