Break out test into two parts: test or sudotest.
The latter will invoke tests with sudo. Not all builds
can support this, but we do need a convenient way
to test this stuff...
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
diff --git a/Makefile b/Makefile
index a5024e7..b52ae03 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,13 @@
endif
make -C progs test
+sudotest: all
+ make -C tests sudotest
+ifeq ($(GOLANG),yes)
+ make -C go sudotest
+endif
+ make -C progs sudotest
+
morganrelease: distclean
@echo "sign the tag twice: older DSA key; and newer RSA kernel.org key"
git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR) -m "This is libcap-$(VERSION).$(MINOR)"