diff --git a/tests/checks/job-ids.fish b/tests/checks/job-ids.fish index ecd8ad2c6..e94d2d800 100644 --- a/tests/checks/job-ids.fish +++ b/tests/checks/job-ids.fish @@ -33,6 +33,8 @@ jobs status job-control interactive command kill -9 $tokill[2] +# Wait for the job to die - the signal needs to be delivered. +wait $tokill[2] 2>/dev/null set -e tokill[2] status job-control full sleep 400 &