bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gawk 5.1.0: Spurious testsuite failure


From: Andrew J. Schorr
Subject: Re: Gawk 5.1.0: Spurious testsuite failure
Date: Thu, 16 Apr 2020 08:49:23 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 16, 2020 at 02:55:26AM -0600, address@hidden wrote:
> Andreas Schwab <address@hidden> wrote:
> 
> > This looks like a spurious testsuite failure:
> >
> > *** strftime.ok Tue Apr 14 13:57:00 2020
> > --- _strftime   Tue Apr 14 13:57:00 2020
> > ***************
> > *** 1 ****
> > ! Tue Apr 14 13:57:01 GMT 2020
> > --- 1 ----
> > ! Tue Apr 14 13:57:00 GMT 2020
> >
> > Andreas.
> >
> > -- 
> > Andreas Schwab, address@hidden
> > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> > "And now for something completely different."
> 
> Thanks for the report. This test is racey; the Makefile tries to get
> around that by running it several times when it fails. 

In that case, I think this message should have been printed on stderr:

   Warning: this system is so slow that after 10 attempts, we could never get 
two sequential invocations of strftime to give the same result!

Although, to be fair, the invocations of strftime are not actually sequential,
because there's a popen of the `date' command sandwiched in between.  Maybe it
flashed across the screen and was not noticed...

Regards,
Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]