diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2018-09-09 12:32:56 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2018-09-09 12:33:15 -0700 |
commit | 8030da1b54606260b5e1af6b7dcf5ce2405cf2a8 (patch) | |
tree | a9236eefaeaa27fca5a9e9253cd56d84d07c91ef /Makefile | |
parent | 8dfead766c6e540b9175bb06b0be7fb3bb715620 (diff) | |
download | libcap-8030da1b54606260b5e1af6b7dcf5ce2405cf2a8.tar.gz |
Add a convenient make top level 'test' target
The test does things with privilege on the current system, so it
invokes sudo to run.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ release: distclean cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR) cd .. && gpg -sba -u E2CCF3F4 libcap-$(VERSION).$(MINOR).tar +test: all + cd progs && sudo ./quicktest.sh + tagrelease: distclean @echo "sign the tag twice: older DSA key; and newer RSA kernel.org key" git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR) |