From fab2a3c3d6cfb9ae353d646296f33a335237fbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 16 Jun 2014 16:54:36 +0200 Subject: [PATCH] Fix port selection in ssl test scripts Port was selected in the 1000-1999 range which is bad (system ports). --- tests/compat.sh | 2 +- tests/ssl-opt.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compat.sh b/tests/compat.sh index 06243bde4..dc03ebdb3 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -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.$$" diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index ddb7a0ac0..f43f1eb54 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -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"