Overview
| Artifact ID: | 9ab28263448cb984bfbbe5059420e382e145fe06 |
|---|---|
| Ticket: | 554068ffffffffffffffffffffffffffffffffff
Windows: [exec] doesn't quote special chars |
| User & Date: | vincentdarley on 2004-02-26 02:06:03 |
Changes
- icomment:
Logged In: YES user_id=32170 I get a whole bunch of errors with these changes, for example: io.test ==== io-14.3 Tcl_SetStdChannel & Tcl_GetStdChannel FAILED ==== Contents of test case: set f [open $path(test1) w] puts $f [format { close stdin close stdout close stderr set f [open "%s" r] set f2 [open "%s" w] set f3 [open "%s" w] puts stdout [gets stdin] puts stdout out puts stderr err close $f close $f2 close $f3 } $path(test1) $path(test2) $path(test3)] close $f set result [exec [interpreter] $path(test1)] set f [open $path(test2) r] set f2 [open $path(test3) r] lappend result [read $f] [read $f2] close $f close $f2 set result ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: child process exited abnormally while executing "exec [interpreter] $path(test1)" invoked from within "set result [exec [interpreter] $path(test1)]" ("uplevel" body line 18) invoked from within "uplevel 1 $script" ---- errorCode: CHILDSTATUS 1488 1 ==== io-14.3 FAILED ==== io-14.8 reuse of stdio special channels FAILED ==== Contents of test case: file delete $path(script) file delete $path(test1) set f [open $path(script) w] puts $f [format { close stderr set f [open "%s" w] puts stderr hello close $f set f [open "%s" r] puts [gets $f] } $path(test1) $path(test1)] close $f set f [open "|[list [interpreter] $path(script)]" r] set c [gets $f] close $f set c ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: child process exited abnormally while executing "close $f" ("uplevel" body line 16) invoked from within "uplevel 1 $script" ---- errorCode: CHILDSTATUS 4000 1 ==== io-14.8 FAILED (and many more besides). Have those who made these changes actually run the test suite on Windows? - login: "vincentdarley"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "vincentdarley"