about summary refs log tree commit diff
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
parent9371146ad7a4c2f52c0dc50bccbd67b7781ed5c7 (diff)
downloadzsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.gz
zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.xz
zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.zip
28475: test that starting background job resets status
-rw-r--r--ChangeLog5
-rw-r--r--Test/A05execution.ztst7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6eb216030..d3d430d37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-12-05  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* 28475: Test/A05execution.ztst: test that starting a background
+	job resets the status.
+
 	* 28469: Src/exec.c: fix memory leak in anonymous function.
 
 2010-12-04  Wayne Davison  <wayned@users.sourceforge.net>
@@ -13887,5 +13890,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5135 $
+* $Revision: 1.5136 $
 *****************************************************
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