aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2025-10-07 09:59:01 -0500
committerBrent Cook <busterb@gmail.com>2025-10-07 09:59:01 -0500
commitbeff893335230dff55f6dc10c8c0054fed7752a9 (patch)
treef6c5df2f46ce9c49d318bc266d9d3965c7371ee3
parent7ed28d2f501a4920b792bee9da3d61814f024a4c (diff)
downloadportable-beff893335230dff55f6dc10c8c0054fed7752a9.tar.gz
portable-beff893335230dff55f6dc10c8c0054fed7752a9.tar.bz2
portable-beff893335230dff55f6dc10c8c0054fed7752a9.zip
use relative path for test temp files
-rw-r--r--patches/test.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/test.c.patch b/patches/test.c.patch
new file mode 100644
index 0000000..7e80e1f
--- /dev/null
+++ b/patches/test.c.patch
@@ -0,0 +1,11 @@
1--- tests/test.c.orig 2025-10-07 09:57:42.853015505 -0500
2+++ tests/test.c 2025-10-07 09:58:08.872499852 -0500
3@@ -67,7 +67,7 @@
4 return t;
5
6 /* Create a temporary file for logging in non-verbose mode */
7- if ((tmp_file = strdup("/tmp/libressl-test.XXXXXXXX")) == NULL)
8+ if ((tmp_file = strdup("libressl-test.XXXXXXXX")) == NULL)
9 err(1, "strdup");
10 if ((out_fd = mkstemp(tmp_file)) == -1)
11 err(1, "mkstemp");