Explorar el Código

test: remove a directory correctly

Current rm in the test script cannot the gopath/src correctly and
results test failure.
Hitoshi Mitake hace 9 años
padre
commit
1727f278f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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