aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-05-01 13:11:42 +0200
committerJakob Unterwurzacher2019-05-01 13:12:44 +0200
commit96935e16b9167dc3c472505872b3fc5235203a05 (patch)
tree36873e28d72c1b5f85efbcdee6d643367f0f3630 /Makefile
parent3ac98722306c316223169fa4a0f9a2769bcceb65 (diff)
tests: add root_tests (tests that must run as root)
First test is a reproducer for https://github.com/rfjakob/gocryptfs/issues/394 "Group permissions: No write access"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b9108b2..7fd9c3d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,11 @@ build:
test:
./test.bash
+.phony: root_test
+root_test:
+ ./build.bash
+ cd tests/root_test ; go test -c ; sudo ./root_test.test
+
.phony: format
format:
go fmt ./...