summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/Time-HiRes/t/utime.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/Time-HiRes/t/utime.t b/dist/Time-HiRes/t/utime.t
index 34519b395a..8a4f0717a8 100644
--- a/dist/Time-HiRes/t/utime.t
+++ b/dist/Time-HiRes/t/utime.t
@@ -132,6 +132,11 @@ if ($^O eq 'cygwin') {
$atime = 1.1111111;
$mtime = 2.2222222;
}
+if ($^O eq 'dragonfly') {
+ # Dragonfly (hammer2?) timestamps have less precision.
+ $atime = 1.111111;
+ $mtime = 2.222222;
+}
print "# \$^O = $^O, atime = $atime, mtime = $mtime\n";
my $skip_atime = $^O eq 'netbsd' && tempfile_has_noatime_mount();