mirror of https://github.com/vishvananda/netlink
Use sudo for testing
This commit is contained in:
parent
7bedf70b9b
commit
3e09ca6940
2
Makefile
2
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))
|
||||
|
|
Loading…
Reference in New Issue