Change #254362
| Category | gcoreutils |
| Changed by | Christopher Illarionova <drydench@amazon.com> |
| Changed at | Tue 06 Jan 2026 19:55:47 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | 1afe4109f2e568141ea8d36e62e38ad704dc44f3 |
Comments
tests: cp: support glibc 2.33+ in nfs-removal-race test glibc 2.33 removed __xstat, making stat() a direct symbol. This test previously only intercepted __xstat, causing it to skip on modern glibc with 'LD_PRELOAD was ineffective'. Changes: - Intercept both __xstat (glibc < 2.33) and stat (glibc >= 2.33) - Only mark 'preloaded' when stat is called on destination 'd', ensuring the test verifies cp actually stats the destination
Changed files
- tests/cp/nfs-removal-race.sh