From: Mike Miller Date: Thu, 10 Jan 2019 20:09:36 +0000 (-0800) Subject: Allow running test suite on installed openconnect X-Git-Tag: v8.02~8^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cee742ce7d50db72be2635c328075d2cd7405c46;p=users%2Fdwmw2%2Fopenconnect.git 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 --- 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"