From cee742ce7d50db72be2635c328075d2cd7405c46 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Thu, 10 Jan 2019 12:09:36 -0800 Subject: [PATCH] Allow running test suite on installed openconnect Support 'make check OPENCONNECT=/usr/sbin/openconnect' to run the test suite as a CI test against the already-installed copy of openconnect. Signed-off-by: Mike Miller --- tests/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.sh b/tests/common.sh index 7161804e..c761492d 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -32,7 +32,7 @@ mkdir -p $SOCKDIR export SOCKET_WRAPPER_DIR=$SOCKDIR export SOCKET_WRAPPER_DEFAULT_IFACE=2 ADDRESS=127.0.0.$SOCKET_WRAPPER_DEFAULT_IFACE -OPENCONNECT="${top_builddir}/openconnect" +OPENCONNECT="${OPENCONNECT:-${top_builddir}/openconnect}" certdir="${srcdir}/certs" confdir="${srcdir}/configs" -- 2.50.1