summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2010-09-21 14:03:37 +1000
committerTony Cook <tony@develop-help.com>2010-09-21 14:03:37 +1000
commitebcfa0534aa7072c0353af79a1e3d7e87678e73e (patch)
tree290faa4c3b17836b8b1ba3899377c9cbc98e38a3 /lib/File
parent1034e4c80e068f8cc1c701d7936bdb84c7d74735 (diff)
downloadperl-ebcfa0534aa7072c0353af79a1e3d7e87678e73e.tar.gz
compare stat results on a file that isn't touched elsewhere
lib/File/stat.t compares two stat calls on t/TEST against each other, but other tests read t/TEST, modifying its access time, causing rare random failures in stat.t in parallel tests.
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/stat.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/File/stat.t b/lib/File/stat.t
index f104b7441a..11858abdf7 100644
--- a/lib/File/stat.t
+++ b/lib/File/stat.t
@@ -15,7 +15,7 @@ BEGIN {
keys %Config;
# Resolve symlink to ./TEST if this build is configured with -Dmksymlinks
- our $file = 'TEST';
+ our $file = '../lib/File/stat.t';
if ( $Dmksymlinks ) {
$file = readlink $file;
die "Can't readlink(TEST): $!" if ! defined $file;