aboutsummaryrefslogtreecommitdiff
path: root/tests/exec.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2022-05-08 15:16:46 +1000
committerSteve Bennett <steveb@workware.net.au>2022-05-08 15:45:27 +1000
commit8bcdb359a0c7217dfebc73c61037a005bb65717d (patch)
tree30511cd2fa9d9155a2225a6b90b863aec469f92c /tests/exec.test
parent3920cedd1cdd4702720773f0637b780f79be6158 (diff)
downloadjimtcl-8bcdb359a0c7217dfebc73c61037a005bb65717d.zip
jimtcl-8bcdb359a0c7217dfebc73c61037a005bb65717d.tar.gz
jimtcl-8bcdb359a0c7217dfebc73c61037a005bb65717d.tar.bz2
tests: add tests for wait -1
Only on unix systems, wait for any child process This was broken with a recent commit, so add an explicit test Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/exec.test')
-rw-r--r--tests/exec.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/exec.test b/tests/exec.test
index 11a4661..d20cc83 100644
--- a/tests/exec.test
+++ b/tests/exec.test
@@ -445,4 +445,8 @@ test exec-17.2 {redirecting to command pipeline} -setup {
file delete sleepx
+# Now we probably have a lot of unreaped zombies at this point
+# so reap them to avoid confusing further tests
+wait
+
testreport