[sheepdog] [PATCH 4/6] tests: add support for running check outside tests directory
MORITA Kazutaka
morita.kazutaka at gmail.com
Wed Jun 5 10:35:32 CEST 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
tests/check | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/check b/tests/check
index 04e0113..5120d3f 100755
--- a/tests/check
+++ b/tests/check
@@ -34,6 +34,8 @@ timestamp=${TIMESTAMP:=false}
# generic initialization
iam=check
+cd $(readlink -f $(dirname $0))
+
# we need common.config
if ! . ./common.config
then
--
1.7.9.5
More information about the sheepdog
mailing list