aboutsummaryrefslogtreecommitdiff
path: root/bin/test/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/test/tests/Makefile')
-rw-r--r--bin/test/tests/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/test/tests/Makefile b/bin/test/tests/Makefile
new file mode 100644
index 000000000000..a1a5d4f02fa7
--- /dev/null
+++ b/bin/test/tests/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TAP_TESTS_SH= legacy_test
+# Some tests in here are silently not run when the tests are executed as
+# root. Explicitly tell Kyua to drop privileges.
+#
+# TODO(jmmv): Kyua needs to do this by default, not only when explicitly
+# requested. See https://code.google.com/p/kyua/issues/detail?id=6
+TEST_METADATA.legacy_test+= required_user="unprivileged"
+
+.include <bsd.test.mk>