From 3e09ca69405ff097d95c8ac55839bc39aba85db1 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Thu, 11 Dec 2014 11:58:33 -0800 Subject: [PATCH] Use sudo for testing --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87c8e7a..e807773 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,6 @@ $(call goroot,$(DEPS)): .PHONY: $(call testdirs,$(DIRS)) $(call testdirs,$(DIRS)): ! gofmt -l $@*.go | grep '' - go test -v github.com/vishvananda/netlink/$@ + sudo -E go test -v github.com/vishvananda/netlink/$@ test: $(call goroot,$(DEPS)) $(call testdirs,$(DIRS))