Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-07-16
17:42 • Closed ticket [61fa4879ed]: RFE: use system temp-folder as default temporary dir... artifact: e3d7c10192 user: sebres
14:35 • Pending ticket [61fa4879ed]. artifact: 247de65d4a user: sebres
14:32
RFE [61fa4879ed] implementation - use system temp-folder as default temporary directory in the test-... closed check-in: 0108bf4c0e user: sebres tags: rfe-61fa4879ed
14:30 • New ticket [61fa4879ed] RFE: use system temp-folder as default temporary directo... artifact: 0bae4efd4f user: sebres

RFE: use system temp-folder as default temporary directory in test-suite

Closed61fa4879ed4c5df1149dc82d3d9df15251b3153dCreated 8 years agoUpdated 8 years ago
Descriptionwiki2018-07-16 14:30:32
Use system temp-folder (instead of working directory) as default temporary directory in test-suite. So "temporaryDirectory" (in opposite to "workingDirectory") will return a first existing temp-folder (firstly tried "$::env(TEMP)", then "/tmp").

This holds working directory clean, may avoid some sporadic errors (like [525ccacaef]) and is more consistent the function-name.

If working directory expected instead of, the behavior can be switched back with overwrite the option (using "-tmpdir .") or using command "workingDirectory" instead of "temporaryDirectory" in the test-cases.

Referenced by1
  • 0108bf4c0eRFE [61fa4879ed] implementation - use system temp-folder as default temporary directory in the test-suite check-in2018-07-16 14:32:01
sebreswiki2018-07-16 14:35:45

[0108bf4c0e] provides a simple implementation for this.

sebresplain2018-07-16 17:42:29
closed as unwanted.
Log in (anonymous is fine) to add a comment.