]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: stat-vs-dirent.sh: avoid a false failure
authorPádraig Brady <P@draigBrady.com>
Sun, 12 Sep 2021 17:53:40 +0000 (18:53 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 12 Sep 2021 22:16:18 +0000 (23:16 +0100)
commit0cfb60e90da0848406cf3bf35bb9273e6ef01dbc
tree3b07bd22bd90db50384587df53efbd7e3e8f9a38
parentac4841298e92ce057e27d56013ec5f4842231026
tests: stat-vs-dirent.sh: avoid a false failure

* tests/ls/stat-vs-dirent.sh: Skip the test if we can't stat(1),
as the file may have been removed, or have a malformed name
due to '\n' etc. in the file name.
tests/ls/stat-vs-dirent.sh