diff options
Diffstat (limited to 'bin/sh/tests/Makefile')
-rw-r--r-- | bin/sh/tests/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/sh/tests/Makefile b/bin/sh/tests/Makefile new file mode 100644 index 0000000..f6ddb8a --- /dev/null +++ b/bin/sh/tests/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/bin/sh + +TAP_TESTS_SH= legacy_test +TAP_TESTS_SH_SED_legacy_test= -e 's,__SH__,/bin/sh,g' +# 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" + +SUBDIR+= builtins errors execution expansion parameters parser set-e + +.include <tap.test.mk> |