aboutsummaryrefslogtreecommitdiff
path: root/tests/exec.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exec.test')
-rw-r--r--tests/exec.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exec.test b/tests/exec.test
index d20cc83..85014a7 100644
--- a/tests/exec.test
+++ b/tests/exec.test
@@ -22,10 +22,10 @@ needs cmd flush
if {[testConstraint tcl]} {
testConstraint pipe 1
} else {
- testCmdConstraints pipe
+ constraint cmd pipe
}
-testConstraint unix [expr {$tcl_platform(platform) eq {unix}}]
+constraint expr unix {$tcl_platform(platform) eq {unix}}
# Sleep which supports fractions of a second
if {[info commands sleep] eq {}} {
@@ -447,6 +447,6 @@ file delete sleepx
# Now we probably have a lot of unreaped zombies at this point
# so reap them to avoid confusing further tests
-wait
+catch {wait}
testreport