Skip to content
Tcl Source Code View Ticket
Login

View Ticket

process-7.3 fails

Closed / Fixed6676bc2548fe9555f3ae786419ff0f8b2dccbb38Created 9 years agoUpdated 42 days ago
Descriptionplain2018-05-11 11:11:10
After latest commits, `make test` reports....

....
process.test


==== process-7.3 child killed FAILED
==== Contents of test case:

    tcl::process autopurge 0
    set pid [exec [interpreter] $path(exit) -1 &]
    lindex [tcl::process status -wait $pid] 1

---- Result was:
1 {child process exited abnormally} {CHILDSTATUS 9849 255}
---- Result should have been (glob matching):
1 {child killed: unknown signal} {CHILDKILLED * {unknown signal} {unknown signal}}
==== process-7.3 FAILED

pwd.test
...
Tests ended at Fri May 11 07:08:04 EDT 2018
all.tcl:        Total   33625   Passed  32518   Skipped 1107    Failed  0



So two problems:
    1) the test fails.
    2) the failure isn't getting counted by tcltest
dgpplain2018-05-11 17:25:51
The second issue was an easy fix. The new test file process.test
had not included a call to the command [::tcltest::cleanupTests].
serhiy.storchakawiki2026-10-21 10:03:39

Both problems are fixed for 9.0.0: [743007c3cc] added the missing cleanupTests, and [71618fd407] limits process-7.3 to Windows (on Unix exit -1 is just exit status 255, not a kill).

serhiy.storchaka Ticket [6676bc2548]: 3 changes [History diff]2026-10-22 17:19:31
Log in (anonymous is fine) to add a comment.