Index: head/bin/sh/tests/Kyuafile =================================================================== --- head/bin/sh/tests/Kyuafile (nonexistent) +++ head/bin/sh/tests/Kyuafile (revision 260506) @@ -0,0 +1,12 @@ +-- $FreeBSD$ + +syntax(2) + +test_suite("FreeBSD") + +-- 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 +tap_test_program{name="legacy_test", required_user="unprivileged"} Property changes on: head/bin/sh/tests/Kyuafile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/bin/sh/tests/Makefile =================================================================== --- head/bin/sh/tests/Makefile (revision 260505) +++ head/bin/sh/tests/Makefile (revision 260506) @@ -1,12 +1,13 @@ # $FreeBSD$ .include TESTSDIR= ${TESTSBASE}/bin/sh +KYUAFILE= yes TAP_TESTS_SH= legacy_test TAP_TESTS_SH_SED_legacy_test= -e 's,__SH__,/bin/sh,g' SUBDIR+= builtins errors execution expansion parameters parser set-e .include Index: head/bin/test/tests/Kyuafile =================================================================== --- head/bin/test/tests/Kyuafile (nonexistent) +++ head/bin/test/tests/Kyuafile (revision 260506) @@ -0,0 +1,12 @@ +-- $FreeBSD$ + +syntax(2) + +test_suite("FreeBSD") + +-- 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 +tap_test_program{name="legacy_test", required_user="unprivileged"} Property changes on: head/bin/test/tests/Kyuafile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/bin/test/tests/Makefile =================================================================== --- head/bin/test/tests/Makefile (revision 260505) +++ head/bin/test/tests/Makefile (revision 260506) @@ -1,9 +1,10 @@ # $FreeBSD$ .include TESTSDIR= ${TESTSBASE}/bin/test +KYUAFILE= yes TAP_TESTS_SH= legacy_test .include