Przeglądaj źródła

test: remove a directory correctly

Current rm in the test script cannot the gopath/src correctly and
results test failure.
Hitoshi Mitake 9 lat temu
rodzic
commit
1727f278f2
1 zmienionych plików z 1 dodań i 1 usunięć
  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