tests/sys/opencrypto: use python3
python2 will be EOL soon Reviewed by: lwhsu, jmg MFC after: 2 weeks Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D25682
This commit is contained in:
parent
0f5603fc77
commit
561e7291e0
@ -14,7 +14,7 @@ ATF_TESTS_C+= blake2_test poly1305_test
|
||||
|
||||
TAP_TESTS_SH+= runtests
|
||||
|
||||
TEST_METADATA.runtests+= required_programs="python2"
|
||||
TEST_METADATA.runtests+= required_programs="python3"
|
||||
TEST_METADATA.runtests+= required_user="root"
|
||||
|
||||
PYMODULES= cryptodev.py cryptodevh.py cryptotest.py
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/python2
|
||||
#!/usr/local/bin/python3
|
||||
#
|
||||
# Copyright (c) 2014 The FreeBSD Foundation
|
||||
# Copyright 2014 John-Mark Gurney
|
||||
@ -31,7 +31,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import array
|
||||
import binascii
|
||||
from fcntl import ioctl
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/python2
|
||||
#!/usr/local/bin/python3
|
||||
#
|
||||
# Copyright (c) 2014 The FreeBSD Foundation
|
||||
# All rights reserved.
|
||||
@ -30,7 +30,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import binascii
|
||||
import errno
|
||||
|
@ -30,7 +30,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
: ${PYTHON=python2}
|
||||
: ${PYTHON=python3}
|
||||
|
||||
if [ ! -d /usr/local/share/nist-kat ]; then
|
||||
echo "1..0 # SKIP: nist-kat package not installed for test vectors"
|
||||
|
Loading…
Reference in New Issue
Block a user