diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2010-12-05 18:33:07 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-12-05 18:33:07 +0000 |
| commit | 0f1fd5b91f3c0b45cba6064944729031b655ceba (patch) | |
| tree | a01c90e297b3098608bea6162a74f4bfa8d6830c /Test | |
| parent | 28469: fix memory leak in anonymous function (diff) | |
| download | zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.gz zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.bz2 zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.lz zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.xz zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.tar.zst zsh-0f1fd5b91f3c0b45cba6064944729031b655ceba.zip | |
28475: test that starting background job resets status
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/A05execution.ztst | 7 |
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 |
