aboutsummaryrefslogtreecommitdiff
path: root/tests/exec2.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exec2.test')
-rw-r--r--tests/exec2.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exec2.test b/tests/exec2.test
index 6cb00cf..b1af8ab 100644
--- a/tests/exec2.test
+++ b/tests/exec2.test
@@ -100,7 +100,7 @@ test exec2-3.4 "wait for background task" -constraints wait -body {
set pid [exec sleep 0.1 &]
lassign [wait $pid] status newpid exitcode
if {$pid != $newpid} {
- error "Got wrong pid from wait"
+ error "wait $pid returned pid=$newpid"
} else {
list $status $exitcode
}