summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-04-19 20:48:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-19 20:50:41 +0200
commitcca9f2d048da1b076505557eace26306a7f2460d (patch)
treeff689a4dc1f1dde5d0c51ff433403d038389636a
parent7e53974603079a9522acdb10f3b4de499ffa6e4d (diff)
downloadcurl-bagder/runtests-unixsocket.tar.gz
runtests: use a unix domain socket path with the pid in the namebagder/runtests-unixsocket
To make it impossible for test cases to access the file name without using the proper variable for the purpose.
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index d853a4a73..e748a86cf 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5455,7 +5455,7 @@ $DICTPORT = $base++; # DICT port
$SMBPORT = $base++; # SMB port
$SMBSPORT = $base++; # SMBS port
$NEGTELNETPORT = $base++; # TELNET port with negotiation
-$HTTPUNIXPATH = 'http.sock'; # HTTP server Unix domain socket path
+$HTTPUNIXPATH = "http$$.sock"; # HTTP server Unix domain socket path
$maxport = $base-1; # updated base port number