Overview
| Artifact ID: | 3d56d65cfd5945f7ece4cdd7f08c767fa7b444a7 |
|---|---|
| Ticket: | 549607ffffffffffffffffffffffffffffffffff
basic.test fails with space in dirname |
| User & Date: | kennykb on 2002-04-27 22:15:45 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Test basic-46.1 fails if [info nameofexecutable] contains a space character. Attached patch appears to fix it. Fault is in the test suite and not the code under test. ==== basic-46.1 Tcl_AllowExceptions: exception return not allowed FAILED ==== Contents of test case: catch {close $f} set res [catch { set f [open |[info nameofexecutable] w+] fconfigure $f -buffering line puts $f {fconfigure stdout -buffering line} puts $f continue puts $f {puts $errorInfo} puts $f {puts DONE} set newMsg {} set msg {} while {$newMsg != "DONE"} { set newMsg [gets $f] append msg "${newMsg}\n" } close $f }] list $res $msg ---- Result was: 1 {global unknown} ---- Result should have been (exact matching): 1 {invoked "continue" outside of a loop while executing "continue " DONE } ==== basic-46.1 FAILED - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "basic.test fails with space in dirname"
- type changed to: "Bug"