Author: ngie
Date: Thu Jun  1 19:46:48 2017
New Revision: 319455
URL: https://svnweb.freebsd.org/changeset/base/319455

Log:
  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

Modified:
  head/tests/sys/opencrypto/Makefile

Modified: head/tests/sys/opencrypto/Makefile
==============================================================================
--- head/tests/sys/opencrypto/Makefile  Thu Jun  1 19:27:38 2017        
(r319454)
+++ head/tests/sys/opencrypto/Makefile  Thu Jun  1 19:46:48 2017        
(r319455)
@@ -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}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to