From e17be63d461006fe56adb598386d60f512e9da67 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 12 Jun 2022 23:07:36 +0200 Subject: [PATCH] make test: disable -buildvcs to make sudo work --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c07bc6e..40c8101 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ test: go build -mod=mod ${PKGS} github.com/rtr7/tools/cmd/... go test -mod=mod -count=1 -v -race github.com/rtr7/router7/internal/... # integration tests - ${SUDO} $(shell go env GOROOT)/bin/go test -count=1 -v -race github.com/rtr7/router7/... + ${SUDO} $(shell go env GOROOT)/bin/go test -buildvcs=false -count=1 -v -race github.com/rtr7/router7/... testdhcp: go test -v -coverprofile=/tmp/cov github.com/rtr7/router7/internal/dhcp4d