]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: cp: fix always skipped nfs-removal-race.sh
authorPádraig Brady <P@draigBrady.com>
Tue, 6 Jan 2026 20:29:45 +0000 (20:29 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 6 Jan 2026 20:35:44 +0000 (20:35 +0000)
commitc43f517e2a733eda125ef32390ed48aa92f6fdeb
treeb58a4a4d6c5a11166930e502343ea33e9a4896df
parent1afe4109f2e568141ea8d36e62e38ad704dc44f3
tests: cp: fix always skipped nfs-removal-race.sh

* tests/cp/nfs-removal-race.sh: This test was invalid since v8.32
as we now use fstatat() rather than stat().  Also since commit
v9.0-66-ge2daa8f79 we leverage the errno from open(O_DIRECTORY)
to avoid a stat, so pass --no-target-directory to ensure fstatat()
is called.
Discussed in https://github.com/coreutils/coreutils/pull/161
tests/cp/nfs-removal-race.sh