print "# \$^O = $^O, atime = $atime, mtime = $mtime\n";
my $skip_atime = $^O eq 'netbsd' && tempfile_has_noatime_mount();
+$skip_atime = 1 if $^O eq 'dragonfly'; # noatime by default
if ($skip_atime) {
printf("# Skipping atime tests because tempfiles seem to be in a filesystem mounted with 'noatime' ($^O)\n'");
else {
# Operating systems whose filesystems may be mounted with the noatime option
# RT 132663
- my %noatime_oses = map { $_ => 1 } ( qw| haiku netbsd | );
+ my %noatime_oses = map { $_ => 1 } ( qw| haiku netbsd dragonfly | );
if ($^O =~ /\blinux\b/i) {
note("# Maybe stat() cannot get the correct atime, ".
"as happens via NFS on linux?");