Use a temporary file instead of $^X when testing stat.
authorNicholas Clark <nick@ccl4.org>
Tue, 25 Feb 2014 10:36:26 +0000 (11:36 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 25 Feb 2014 10:36:26 +0000 (11:36 +0100)
commit313e09e70abdc9a57e7f4b1a814b5bddc652fcf4
tree1dbed2bded87e543f05eea2077a3d79e5fe2c402
parentc161da64987b034d3b410518a0c174d74958b938
Use a temporary file instead of $^X when testing stat.

Otherwise there's a subtle race condition on the last access time, which can
cause the test to spuriously fail. I'm surprised that we've not seen this
failure until today.
ext/POSIX/t/wrappers.t