diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-19 20:48:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-19 20:50:41 +0200 |
commit | cca9f2d048da1b076505557eace26306a7f2460d (patch) | |
tree | ff689a4dc1f1dde5d0c51ff433403d038389636a | |
parent | 7e53974603079a9522acdb10f3b4de499ffa6e4d (diff) | |
download | curl-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-x | tests/runtests.pl | 2 |
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 |