|
2008-12-02
| ||
| 03:44 | • Closed ticket [2371623fff]: file tempfile not portable plus 7 other change... artifact: 8cd2b0db45 user: dgp | |
| 00:00 | • Open ticket [2371623fff]. artifact: bd2c2755c4 user: dgp | |
| 00:00 | • Ticket [2371623fff]: 4 changes artifact: f9da213957 user: dgp | |
|
2008-12-01
| ||
| 22:23 | • Closed ticket [2371623fff]. artifact: d40e9a49e7 user: dkf | |
| 22:17 | • Ticket [2371623fff]: 4 changes artifact: 619f47d3c6 user: dkf | |
| 22:09 | • Ticket [2371623fff]: 5 changes artifact: b37e7bf417 user: dgp | |
| 15:06 | • New ticket [2371623fff]. artifact: cdcdcd7d35 user: dgp | |
[file tempfile] not portable
Closed / Fixed2371623fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-01 15:06:42
Failing test is really on the
tip of the core-8-5-branch:
==== cmdAH-32.6 file tempfile - templates FAILED
==== Contents of test case:
set template [file join $dirfile foo]
close [file tempfile name $template.bar]
expr {[string match $template*.bar $name] ? "ok" :
"$template.bar produced $name"}
---- Result was:
/home/dgp/cvs/tcl/unix/dir.file/foo.bar produced /home/dgp/cvs/tcl/unix/dir.file/foo_rhh7Cg
---- Result should have been (exact matching):
ok
==== cmdAH-32.6 FAILED
dgpplain2008-12-01 22:09:08
sorry. those weren't the droids I thought I was testing.
dkfplain2008-12-01 22:17:43
Oh well, you must be on a system without mkstemps(). Guess that test needs to be marked nonPortable...
dkf Closed ticket [2371623fff].
[History diff]2008-12-01 22:23:06
dgpplain2008-12-02 00:00:03
ok, so that fixes the "failed test" problem, but doesn't fix the "[file tempfile] doesn't work on my system" problem?
dgp Open ticket [2371623fff].
[History diff]2008-12-02 00:00:04
dgpplain2008-12-02 03:44:36
ok, the unreliability of the template on multiple platforms is documented, so no bug it seems.
Log in (anonymous is fine) to add a comment.