Ticket UUID: | 549607 | |||
Title: | basic.test fails with space in dirname | |||
Type: | Bug | Version: | None | |
Submitter: | kennykb | Created on: | 2002-04-27 22:15:45 | |
Subsystem: | 45. Parsing and Eval | Assigned To: | msofer | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-05-07 22:55:29 | |
Resolution: | Fixed | Closed By: | msofer | |
Closed on: | 2002-05-07 15:55:29 | |||
Description: |
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 | |||
User Comments: |
msofer added on 2002-05-07 22:55:29:
Logged In: YES user_id=148712 Committed kennykb added on 2002-04-28 05:19:46: File Added - 22061: basic.test.diff |
Attachments:
- basic.test.diff [download] added by kennykb on 2002-04-28 05:19:46. [details]