From: Daniel Stenberg Date: Sun, 19 Apr 2020 18:48:48 +0000 (+0200) Subject: runtests: use a unix domain socket path with the pid in the name X-Git-Tag: curl-7_70_0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb07f3c583c26ddca2c413ca10018d4dacfc378;p=thirdparty%2Fcurl.git 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 --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 3c568f6337..82de7f7a8b 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