Skip to content

Conversation

@jpco
Copy link
Collaborator

@jpco jpco commented Apr 12, 2025

All temporary files are created in the current directory of the running test. I think that's probably fine, though I don't consider it ideal.

- Make all `mktemp` calls specify six Xs in templates, as some systems
  (OpenBSD, Busybox) require that many.

- Replace old `/tmp/foo.$pid`-style files with `mktemp`s, as some
  systems don't actually provide a `/tmp`.  Also add `unwind-protect`
  to make temp file deletions more likely.

- Give temporary test files more consistent names.
@jpco jpco merged commit 57af52c into wryun:master Apr 12, 2025
1 check passed
@jpco jpco deleted the test-temps branch April 12, 2025 14:32
@jpco jpco added the bug label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant