From a6f706926438bbbfaf539cee323d89d5d7d66fe0 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Thu, 17 Oct 2013 20:57:00 -0700 Subject: [PATCH] fix use right gopath --- test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.sh b/test.sh index 31196f7ec..f48faffd3 100755 --- a/test.sh +++ b/test.sh @@ -4,8 +4,13 @@ set -e # Get GOPATH, etc from build . ./build +# use right GOPATH +export GOPATH="${PWD}" + # Unit tests +go test -i ./store go test -v ./store # Functional tests +go test -i ./tests/functional ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional