Prechádzať zdrojové kódy

test: remove a directory correctly

Current rm in the test script cannot the gopath/src correctly and
results test failure.
Hitoshi Mitake 9 rokov pred
rodič
commit
1727f278f2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      test

+ 1 - 1
test

@@ -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