1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Fix up TEST_METADATA

- `TEST_METADATA.foo` should be `TEST_METADATA.run_tests`: this will unbreak
  trying to run the tests on a system without python installed in $PATH.
- The tests require root because they load aesni(4) and/or cryptodev(4) if
  not already loaded.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-06-01 19:46:48 +00:00
parent 78dd739ff3
commit 1de3fb0425
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319455

View File

@ -7,7 +7,9 @@ BINDIR= ${TESTSDIR}
PLAIN_TESTS_SH= runtests
TEST_METADATA.foo+=required_programs="python"
TEST_METADATA.runtests+= required_programs="python"
TEST_METADATA.runtests+= required_user="root"
PYMODULES= cryptodev.py cryptodevh.py cryptotest.py dpkt.py
${PACKAGE}FILES+= ${PYMODULES}