diff options
Diffstat (limited to 'tests/jobs4.sub')
| -rw-r--r-- | tests/jobs4.sub | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jobs4.sub b/tests/jobs4.sub index 51980d1..2eb4197 100644 --- a/tests/jobs4.sub +++ b/tests/jobs4.sub @@ -18,5 +18,7 @@ echo $? wait -cat & +# the sleep is intended to give the kill time to execute before the job +# exits +(sleep 1 ; cat ) & kill -1 %% && echo i killed it || echo could not kill it |
