summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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