summaryrefslogtreecommitdiff
path: root/tests
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 23:33:03 +0200
commitebb07f3c583c26ddca2c413ca10018d4dacfc378 (patch)
treee23908c627b04724749c9a251fb25423e71d2b76 /tests
parent207a6cbb909ba6df01ba5ed8f73acc733128bdf1 (diff)
downloadcurl-ebb07f3c583c26ddca2c413ca10018d4dacfc378.tar.gz
runtests: use a unix domain socket path with the pid in the name
To make it impossible for test cases to access the file name without using the proper variable for the purpose. Closes #5264
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 3c568f633..82de7f7a8 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5457,7 +5457,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