]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: verify that fts diagnoses readdir() failures
authorPeter Benie <pjb1008@cam.ac.uk>
Sun, 26 Jun 2016 18:07:45 +0000 (19:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 26 Jun 2016 20:48:22 +0000 (21:48 +0100)
commit26616776c0c620ce72b3b69aa5ed63f495552a9e
tree94024fa862e8f5279884afece3c853deb9d7641c
parentef9650170f795be41223c8887258a1c596ecc162
tests: verify that fts diagnoses readdir() failures

* tests/rm/rm-readdir-fail.sh: A new test to simulate readdir()
failing immediately or after returning a few entries, and verifying
that rm does the appropriate thing.
This was initially reported at:
http://bugzilla.opensuse.org/show_bug.cgi?id=984910
where it was mentioned that readdir() may fail
when an NFS server has a poor readdir cookie implementation.
tests/local.mk
tests/rm/rm-readdir-fail.sh [new file with mode: 0755]