GNU bug report logs - #51793
FAIL: tests/misc/env-signal-handler

Previous Next

Package: coreutils;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Fri, 12 Nov 2021 19:26:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 51793-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 51793-done <at> debbugs.gnu.org
Subject: Re: bug#51793: FAIL: tests/misc/env-signal-handler
Date: Sat, 13 Nov 2021 12:18:39 +0000
[Message part 1 (text/plain, inline)]
On 13/11/2021 09:46, Andreas Schwab wrote:
> On Nov 12 2021, Pádraig Brady wrote:
> 
>> I've never seen this, and I can't see the race.
> 
> There is an obvious race: if env needs more than .1 seconds to set the
> SIGINT handler.

Indeed.

That fits the pattern where we need a certain delay to pass.
So we can use our retry_delay_ helper here.
I'll apply the attached later.

thanks,
Pádraig
[test-env-race.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.