]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: improve test coverage for ls stat checks
authorPádraig Brady <P@draigBrady.com>
Sun, 1 Mar 2020 12:36:35 +0000 (12:36 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 1 Mar 2020 13:06:01 +0000 (13:06 +0000)
commit5cdab9f26b4167d49a9f63dd343c2f8a14aa3070
tree0d7bea28773f0c78c8a793e03147aa2dca6095a4
parente840c7868554e01afeac5a8c5ad249524d1f08b2
tests: improve test coverage for ls stat checks

* tests/ls/stat-free-color.sh: Check for the availability
of various stat calls individually, and add statx() and fstatat64()
to the list to check.  Fix the stat counting logic to
ignore lines like "+++ exited with 0 +++".
* tests/ls/stat-free-symlinks.sh: Check syscalls other than stat().
tests/ls/stat-free-color.sh
tests/ls/stat-free-symlinks.sh