Use sudo for testing

This commit is contained in:
Vishvananda Ishaya 2014-12-11 11:58:33 -08:00
parent 7bedf70b9b
commit 3e09ca6940
1 changed files with 1 additions and 1 deletions

View File

@ -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))