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
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.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AE
https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:Factory/coreutils/s/s390x
./tests/misc/env-signal-handler.sh: line 91: 8508 Killed env
timeout --verbose --kill-after=.1 --signal=INT .1 sleep 10 > /dev/null 2> err5
--- exp-err52021-11-13 09:14:29.8377168
On Nov 12 2021, Pádraig Brady wrote:
> On 12/11/2021 19:25, Andreas Schwab wrote:
>> --- exp-err6 2021-11-11 22:58:04.360716802 +
>> +++ err6 2021-11-11 22:58:04.752716821 +
>> @@ -1,2 +1 @@
>> timeout: sending signal INT to command 'env'
>> -timeout: sending signal KILL to comma
On 12/11/2021 19:25, Andreas Schwab wrote:
--- exp-err6 2021-11-11 22:58:04.360716802 +
+++ err6 2021-11-11 22:58:04.752716821 +
@@ -1,2 +1 @@
timeout: sending signal INT to command 'env'
-timeout: sending signal KILL to command 'env'
The above is for the previous command not
--- exp-err6 2021-11-11 22:58:04.360716802 +
+++ err6 2021-11-11 22:58:04.752716821 +
@@ -1,2 +1 @@
timeout: sending signal INT to command 'env'
-timeout: sending signal KILL to command 'env'
./tests/misc/env-signal-handler.sh: line 127: 26396 Killed env
timeout -