mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Specify using Python2, these .py files have not been converted to use Python3
yet, but the default Python version in ports has been switched to 3. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3d384d51aa
commit
369ee0905e
4 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ ATF_TESTS_C+= blake2_test poly1305_test
|
|||
|
||||
PLAIN_TESTS_SH= runtests
|
||||
|
||||
TEST_METADATA.runtests+= required_programs="python"
|
||||
TEST_METADATA.runtests+= required_programs="python2"
|
||||
TEST_METADATA.runtests+= required_user="root"
|
||||
|
||||
PYMODULES= cryptodev.py cryptodevh.py cryptotest.py dpkt.py
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/local/bin/python2
|
||||
#
|
||||
# Copyright (c) 2014 The FreeBSD Foundation
|
||||
# Copyright 2014 John-Mark Gurney
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/local/bin/python2
|
||||
#
|
||||
# Copyright (c) 2014 The FreeBSD Foundation
|
||||
# All rights reserved.
|
||||
|
|
|
|||
|
|
@ -61,6 +61,6 @@ done
|
|||
oldcdas=$(sysctl -e kern.cryptodevallowsoft)
|
||||
sysctl kern.cryptodevallowsoft=1
|
||||
|
||||
python $(dirname $0)/cryptotest.py
|
||||
python2 $(dirname $0)/cryptotest.py
|
||||
|
||||
sysctl "$oldcdas"
|
||||
|
|
|
|||
Loading…
Reference in a new issue