aboutsummaryrefslogtreecommitdiffstats
path: root/tests/jobs4.sub
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2005-12-07 14:08:12 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:57 +0000
commit95732b497d12c98613bb3c5db16b61f377501a59 (patch)
tree5e1cdf79eb0407e09dca4c0ec29e11442c7d1d15 /tests/jobs4.sub
parenteb87367179effbe5f430236db8259006d71438b7 (diff)
downloadandroid_external_bash-95732b497d12c98613bb3c5db16b61f377501a59.tar.gz
android_external_bash-95732b497d12c98613bb3c5db16b61f377501a59.tar.bz2
android_external_bash-95732b497d12c98613bb3c5db16b61f377501a59.zip
Imported from ../bash-3.1.tar.gz.
Diffstat (limited to 'tests/jobs4.sub')
-rw-r--r--tests/jobs4.sub4
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