From d727de62e14a48ef5da16d034549a76909303209 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 12 Mar 2020 21:18:58 +0100 Subject: integration_test.sh supports other build directories then ${SOURCE_ROOT}/src/ptunnel-ng Signed-off-by: Toni Uhlig --- test/integration_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration_test.sh b/test/integration_test.sh index 9ff45a3..32adb89 100755 --- a/test/integration_test.sh +++ b/test/integration_test.sh @@ -5,8 +5,8 @@ set -x set -o pipefail -SRC_ROOT=$(realpath $(dirname $0)/..) -PTUNNEL_BIN=${PTUNNEL_BIN:-${SRC_ROOT}/src/ptunnel-ng} +BIN_ROOT="${BIN_ROOT:-$(realpath $(dirname $0)/..)}" +PTUNNEL_BIN=${PTUNNEL_BIN:-${BIN_ROOT}/src/ptunnel-ng} PTUNNEL_ARGS="${PTUNNEL_ARGS:-}" VALGRIND_BIN=${VALGRIND_BIN:-valgrind} VALGRIND_ARGS="--error-exitcode=1 --exit-on-first-error=yes" -- cgit v1.2.3