Page MenuHomeFreeBSD

D25682.id74507.diff
No OneTemporary

D25682.id74507.diff

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

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)

Event Timeline