mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tests: replaced explicit ports with random assignment
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
PKG_CONFIG="${PKG_CONFIG:-/usr/bin/pkg-config}"
|
||||
SERV="${SERV:-../src/ocserv}"
|
||||
srcdir=${srcdir:-.}
|
||||
PORT=443
|
||||
NO_NEED_ROOT=1
|
||||
TMPFILE=pid.$$.tmp
|
||||
|
||||
@@ -28,6 +27,8 @@ VERBOSE=1
|
||||
|
||||
. `dirname $0`/common.sh
|
||||
|
||||
eval "${GETPORT}"
|
||||
|
||||
connect()
|
||||
{
|
||||
vhost=$1:$PORT
|
||||
|
||||
Reference in New Issue
Block a user