Skip to content

Use Test::Util's &make-temp-path for socket tests#829

Open
usev6 wants to merge 1 commit intoRaku:masterfrom
usev6:socket_tmp_files
Open

Use Test::Util's &make-temp-path for socket tests#829
usev6 wants to merge 1 commit intoRaku:masterfrom
usev6:socket_tmp_files

Conversation

@usev6
Copy link
Copy Markdown
Contributor

@usev6 usev6 commented Feb 5, 2023

This deduplicates some temporary file logic (and probably generates "better" file names).

This deduplicates some temporary file logic (and probably generates
"better" file names).

The main part of the patch was written by @Kaiepi -- see
Raku#732. The only difference in this
commit is the usage of an absolute path, instead of changing to
$*TMPDIR and using a relative path. That's necessary because the
C code that actually creates the socket file doesn't get its
current working directory changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant