Fix port selection in ssl test scripts

Port was selected in the 1000-1999 range which is bad (system ports).
This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-16 16:54:36 +02:00
parent e41072e7f9
commit fab2a3c3d6
2 changed files with 2 additions and 2 deletions

View file

@ -965,7 +965,7 @@ MAIN_PID="$$"
# Pick a "unique" port in the range 10000-19999.
PORT="0000$$"
PORT="1$(echo $PORT | tail -c 4)"
PORT="1$(echo $PORT | tail -c 5)"
# Also pick a unique name for intermediate files
SRV_OUT="srv_out.$$"

View file

@ -316,7 +316,7 @@ fi
# Pick a "unique" port in the range 10000-19999.
PORT="0000$$"
PORT="1$(echo $PORT | tail -c 4)"
PORT="1$(echo $PORT | tail -c 5)"
# fix commands to use this port
P_SRV="$P_SRV server_port=$PORT"