]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: use a unix domain socket path with the pid in the name
authorDaniel Stenberg <daniel@haxx.se>
Sun, 19 Apr 2020 18:48:48 +0000 (20:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 19 Apr 2020 21:33:03 +0000 (23:33 +0200)
To make it impossible for test cases to access the file name without
using the proper variable for the purpose.

Closes #5264

tests/runtests.pl

index 3c568f63370e14228623f274bdca0734b44e508f..82de7f7a8b89557d0fffa84516cff060699cdc27 100755 (executable)
@@ -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