Skip to content

Use standard API for temporary file paths in tests #605

@htuch

Description

@htuch

Today, a number of tests use fixed paths in /tmp for their temporary file objects. Similar to #574, this presents problems in shared and/or sandboxed test environments, where tests may conflict with other runs or fail due to the lack of access to /tmp. We should use a standard API for accessing the temp path at various code sites where these paths are created (e.g. something like TestEnvironment::tempPath()) and also make the implementation of this respect variables like TMPDIR.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions