From c0fe3b7bde4f76d768dde72dbab841c5a5912350 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Mon, 13 Mar 2023 22:47:17 +0000 Subject: [PATCH] remove govet and gofmt from test_linux.sh Signed-off-by: Matthieu MOREL --- test_linux.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test_linux.sh b/test_linux.sh index 29c13557..e2003f7a 100755 --- a/test_linux.sh +++ b/test_linux.sh @@ -38,20 +38,6 @@ for t in ${PKG}; do i=$((i+1)) done -echo "Checking gofmt..." -fmtRes=$(go fmt $PKG) -if [ -n "${fmtRes}" ]; then - echo -e "go fmt checking failed:\n${fmtRes}" - exit 255 -fi - -echo "Checking govet..." -vetRes=$(go vet $PKG) -if [ -n "${vetRes}" ]; then - echo -e "govet checking failed:\n${vetRes}" - exit 255 -fi - # Run the pkg/ns tests as non root user mkdir /tmp/cni-rootless (export XDG_RUNTIME_DIR=/tmp/cni-rootless; cd pkg/ns/; unshare -rmn go test)