Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108026209
D25682.id74507.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25682.id74507.diff
View Options
Index: tests/sys/opencrypto/Makefile
===================================================================
--- tests/sys/opencrypto/Makefile
+++ tests/sys/opencrypto/Makefile
@@ -14,7 +14,7 @@
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
Index: tests/sys/opencrypto/cryptodev.py
===================================================================
--- tests/sys/opencrypto/cryptodev.py
+++ tests/sys/opencrypto/cryptodev.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
Index: tests/sys/opencrypto/cryptotest.py
===================================================================
--- tests/sys/opencrypto/cryptotest.py
+++ tests/sys/opencrypto/cryptotest.py
@@ -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
Index: tests/sys/opencrypto/runtests.sh
===================================================================
--- tests/sys/opencrypto/runtests.sh
+++ tests/sys/opencrypto/runtests.sh
@@ -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"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 4:24 PM (21 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16016257
Default Alt Text
D25682.id74507.diff (1 KB)
Attached To
Mode
D25682: tests/sys/opencrypto: use python3
Attached
Detach File
Event Timeline
Log In to Comment