aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/test/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/test/tests/Makefile')
-rw-r--r--shell_cmds/test/tests/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell_cmds/test/tests/Makefile b/shell_cmds/test/tests/Makefile
new file mode 100644
index 0000000..5ee337a
--- /dev/null
+++ b/shell_cmds/test/tests/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/bin/test
+
+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>