develooper Front page | perl.perl5.porters | Postings from April 2018

Re: 5.27.11 fails ../lib/File/Copy.t on linux (ubuntu-16.04) with-Dusequadmath

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
April 25, 2018 13:58
Subject:
Re: 5.27.11 fails ../lib/File/Copy.t on linux (ubuntu-16.04) with-Dusequadmath
Message ID:
20180425135828.GW597@iabyn.com
On Wed, Apr 25, 2018 at 08:16:18PM +1000, sisyphus1@optusnet.com.au wrote:
> Hi,
> 
> I couldn't find any reports about this - apologies if I've missed it/them.
> 
> The test failure is:
> 
> not ok 53 - mtime preserved by copy() while testing cross-partition
> #   Failed test 'mtime preserved by copy() while testing cross-partition'
> #   at lib/File/Copy.t line 128.
> #          got: '1000000000.123449998'
> #     expected: '1000000000.123449999'
> 
> Configure args were '-des -Duse64bitint -Duse64bitall -Dusethreads
> -Dusequadmath -Dusedevel -Uversiononly'.

It seems to be an issue with Time::HiRes; that module's nanosec-supporting
stat() and utimes() calls are in some fashion not preserving an exact
round-trip mtime. I'm still investigating...

-- 
You live and learn (although usually you just live).

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About