diff --git a/hack/unit_test.sh b/hack/unit_test.sh old mode 100644 new mode 100755 index 402dfcf68..ae79e3d91 --- a/hack/unit_test.sh +++ b/hack/unit_test.sh @@ -6,8 +6,8 @@ echo "" > coverage.txt for d in $(go list ./pkg/... ./cmd/...); do go test -race -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then - cat profile.out >> coverage.txt - rm profile.out + cat profile.out >> coverage.txt + rm profile.out fi done