-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This partially reverts commit 2e77de9, as in that on unix we return to the behavior implemented before that commit was made. By using mkstemp, we prevent potential filename collisions from occuring (something firecracker occasionally observed when running heavily parallelized testing workloads). Code for the unix implementation is taken from the git history, with minor adjustments to meet the now-higher linting bar. On windows, we stick to the implementation of naming tempfiles after 6 random alphanumeric characters. Signed-off-by: Patrick Roy <[email protected]>
- Loading branch information
Showing
2 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters