Re: Changes to job handling cause hangs in wait

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

 



Am 01.12.20 um 07:56 schrieb Herbert Xu:
On Tue, Dec 01, 2020 at 05:06:18PM +1100, Herbert Xu wrote:

For some reason this is causing the final two tee's to be created
as children of debian/tests/timedated rather than the bash shell.

An alternative to changing the parent is of course to do

	wait $MONPID

instead of

	wait

I think this makes more sense anyway as otherwise someone could
easily introduce a hang if they unwittingly add a backgrounded
job to this script.

I applied this change, but now the script terminates with 143 [1]

I'm happy for any suggestions to make the script more correct/robust and make it pass successfully.

Michael


[1] https://ci.debian.net/data/autopkgtest/testing/amd64/s/systemd/8600208/log.gz




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux