|
2002-05-07
| ||
| 22:55 | • Closed ticket [549607ffff]: basic.test fails with space in dirname plus 7 ot... artifact: 44602af932 user: msofer | |
|
2002-04-28
| ||
| 05:19 | • Add attachment basic.test.diff to ticket [549607ffff] artifact: 439ba9fb9d user: kennykb | |
| 05:19 | • Ticket [549607ffff] basic.test fails with space in dirname status still Open... artifact: 1aea0d0dd1 user: kennykb | |
|
2002-04-27
| ||
| 22:15 | • New ticket [549607ffff]. artifact: 3d56d65cfd user: kennykb | |
basic.test fails with space in dirname
Closed / Fixed549607ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-04-27 22:15:45
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
kennykbplain2002-04-28 05:19:46
File Added - 22061: basic.test.diff
msoferplain2002-05-07 22:55:29
Logged In: YES user_id=148712 Committed
Log in (anonymous is fine) to add a comment.
Attachments:
- basic.test.diff [download] added by kennykb on 2002-04-28 05:19:46. [details]