Fix t/op/stat.t failures on hurd

We already do this on GNU/kFreeBSD, and GNU/Hurd seems to need same
treatment.

Bug-Debian: https://bugs.debian.org/822735

Gbp-Pq: Topic debian
Gbp-Pq: Name hurd-softupdates.diff
This commit is contained in:
Niko Tyni 2016-04-28 16:31:39 +03:00 committed by openKylinBot
parent 34d46bec93
commit 83e701c4da
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ print FOO "Now is the time for all good men to come to.\n";
close(FOO);
stat($tmpfile) if $^O =~ /^gnukfreebsd/; # Work around Debian Bug#796798
stat($tmpfile) if $^O eq 'gnu'; # Work around Debian Bug#822735
sleep 2;
my $has_link = 1;