| Ticket UUID: | 61fa4879ed4c5df1149dc82d3d9df15251b3153d | ||
| Title: | RFE: use system temp-folder as default temporary directory in test-suite | ||
| Type: | RFE | Created on: | 2018-07-16 14:30:32 |
| Submitter: | sebres | Assigned to: | nobody |
| Subsystem: | 34. tcltest Package | Severity: | Severe |
| Priority: | 5 Medium | Last modified: | 2018-07-16 17:42:29 |
| Status: | Closed | Closed by: | sebres |
| Resolution: | None | Closed on: | 2018-07-16 17:42:29 |
| Version: | >= 8.5 | ||
| Description: | ||||
|
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. | ||||
| User Comments: | ||||
sebres added on 2018-07-16 14:35:45:
[0108bf4c0e] provides a simple implementation for this. sebres added on 2018-07-16 17:42:29:
closed as unwanted. | ||||
