aboutsummaryrefslogtreecommitdiff
path: root/bin/pkill/tests/Makefile
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2014-08-14 14:59:40 +0000
committerAlan Somers <asomers@FreeBSD.org>2014-08-14 14:59:40 +0000
commitda02ed7331b2431f3b226bd05991c50dd5ccccf3 (patch)
tree8ae32f5db9046de1c50426ccdf470f335aaee5a9 /bin/pkill/tests/Makefile
parent6fe6b12f07982d5d9e0aaf797413855b16ad1fb2 (diff)
Skip pgrep-j and pkill-j if jail or jls is not installed.
Even though jail is part of the base system, it can be disabled by src.conf settings. Therefore, it should be listed as a required program for tests that use it. CR: D603 MFC after: 3 days Sponsored by: Spectra Logic
Notes
Notes: svn path=/head/; revision=269977
Diffstat (limited to 'bin/pkill/tests/Makefile')
-rw-r--r--bin/pkill/tests/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/pkill/tests/Makefile b/bin/pkill/tests/Makefile
index b131d5925667..a4a2c915182f 100644
--- a/bin/pkill/tests/Makefile
+++ b/bin/pkill/tests/Makefile
@@ -14,6 +14,7 @@ TAP_TESTS_SH+= pgrep-g_test
TAP_TESTS_SH+= pgrep-i_test
TAP_TESTS_SH+= pgrep-j_test
TEST_METADATA.pgrep-j_test+= required_user="root"
+TEST_METADATA.pgrep-j_test+= required_programs="jail jls"
TAP_TESTS_SH+= pgrep-l_test
TAP_TESTS_SH+= pgrep-n_test
TAP_TESTS_SH+= pgrep-o_test
@@ -31,6 +32,7 @@ TAP_TESTS_SH+= pkill-g_test
TAP_TESTS_SH+= pkill-i_test
TAP_TESTS_SH+= pkill-j_test
TEST_METADATA.pkill-j_test+= required_user="root"
+TEST_METADATA.pkill-j_test+= required_programs="jail jls"
TAP_TESTS_SH+= pkill-s_test
TAP_TESTS_SH+= pkill-t_test
TAP_TESTS_SH+= pkill-x_test