瀏覽代碼

test: remove a directory correctly

Current rm in the test script cannot the gopath/src correctly and
results test failure.
Hitoshi Mitake 9 年之前
父節點
當前提交
1727f278f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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