about summary refs log tree commit diff
path: root/Test/A05execution.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-12-05 18:33:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-12-05 18:33:07 +0000
commit0f1fd5b91f3c0b45cba6064944729031b655ceba (patch)
treea01c90e297b3098608bea6162a74f4bfa8d6830c /Test/A05execution.ztst
parent9371146ad7a4c2f52c0dc50bccbd67b7781ed5c7 (diff)
downloadzsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.gz
zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.xz
zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.zip
28475: test that starting background job resets status
Diffstat (limited to 'Test/A05execution.ztst')
-rw-r--r--Test/A05execution.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index 8dee85c28..b4fb8739a 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst
@@ -171,3 +171,10 @@
 0:trap ZERR
 >Command failed again.
 >Command failed again.
+
+  false
+  sleep 1000 &
+  print $?
+  kill $!
+0:Status reset by starting a backgrounded command
+>0