test: remove a directory correctly

Current rm in the test script cannot the gopath/src correctly and
results test failure.
This commit is contained in:
Hitoshi Mitake
2016-05-20 13:41:06 +09:00
parent e9f3e809a6
commit 1727f278f2

2
test
View File

@@ -22,7 +22,7 @@ source ./build
# Set up gopath so tests use vendored dependencies
export GOPATH=${PWD}/gopath
rm -f $GOPATH/src
rm -rf $GOPATH/src
mkdir -p $GOPATH
ln -s ${PWD}/cmd/vendor $GOPATH/src