summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2020-10-26 16:44:59 +0000
committerTony Cook <tony@develop-help.com>2020-11-05 15:47:30 +1100
commit544d39aa954f5d4fcff56dd1c4cfbae3ed9a80ab (patch)
treeb75831d0c3b8f72bdb349c828cbc1a8a181793a2 /dist
parentab6d256e36aff793ab718c19e81b27210afcd4f4 (diff)
downloadperl-544d39aa954f5d4fcff56dd1c4cfbae3ed9a80ab.tar.gz
dragonfly bsd timestamps are only microsecond precision
based on testing
Diffstat (limited to 'dist')
-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();