1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

tests/builtin.sh: sleep -s: give more time for fork

src/cmd/ksh93/tests/builtins.sh:
- Sleep longer after forking a background job to give the OS more
  time to launch it; this will hopefully avoid an intermittent
  regression test failure on the Github CI runners.
This commit is contained in:
Martijn Dekker 2020-07-29 23:01:28 +01:00
parent 3fb04b2807
commit 56fe602800

View file

@ -874,7 +874,7 @@ IMPLEMENTATION
sleepsig="$tmp/sleepsig.sh"
cat >| "$sleepsig" << 'EOF'
sleep -s 31 &
sleep .001
sleep .1
kill -CONT $!
if kill -0 $!; then
kill -TERM $! # Don't leave a lingering background process