From fc561051267c07642f4bda74684cd66876bb0dc3 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Sun, 21 Jul 2013 00:16:09 -0400 Subject: [PATCH] Fix path to common.sh when tests run from another directory --- tests/test-pass | 2 +- tests/test-pass-cert | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..."