diff --git a/tests/test-pass b/tests/test-pass index d305ab5a..14f14a9e 100755 --- a/tests/test-pass +++ b/tests/test-pass @@ -20,7 +20,7 @@ SERV="${SERV:-../src/ocserv}" -. ./common.sh +. `dirname $0`/common.sh echo "Testing local backend with username-password..." diff --git a/tests/test-pass-cert b/tests/test-pass-cert index 2e4b3f6f..152019dd 100755 --- a/tests/test-pass-cert +++ b/tests/test-pass-cert @@ -20,7 +20,7 @@ SERV="${SERV:-../src/ocserv}" -. ./common.sh +. `dirname $0`/common.sh echo "Testing local backend with username-password and certificate..."