Overview
| Artifact ID: | 58e7b23d9172ed73ce691a6f5553a9ac65e0db14 |
|---|---|
| Ticket: | 558742ffffffffffffffffffffffffffffffffff
tcltest creates 'tmp' in current dir |
| User & Date: | dgp on 2002-06-01 05:44:46 |
Changes
- icomment:
Logged In: YES user_id=80530 A number of things are at play here. The assumption (i) noted above is actually what is being tested. The "stdio" constraint is supposed to indicate that the [interpreter] can be launched as a pipeline, according to the docs. ASIDE: very strange name if you ask me, this was not at all obvious to me, and I re-invented this constraint in the main.test as "exec" (sort of). Still, there really is no need to write a script file to test pipeline launching. One could as easily send the [exit] command through the pipeline to stdin. Even if a temp file is needed, tcltest already has [makeFile] and [removeFile] for that purpose, and should use them. They write files to [temporaryDirectory] which is tcltest's version of $env(TEMP). A request that the default value of [temporaryDirectory] should be $env(TEMP) should be a separate report. It's not clear to me why the final catch {file delete -force tmp} is not removing the tmp, though. Something subtle in a VFS? - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"