Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Convert Python tests to Python 3

Look for python3 in configure.in and verify that we got it. Convert
test code to conform to Python 3.

https://github.com/krb5/krb5/commit/e23d24beacb73581bbf4351250f3955e6fd44361
Author: Greg Hudson <ghudson@mit.edu>
Commit: e23d24beacb73581bbf4351250f3955e6fd44361
Branch: master
src/Makefile.in | 1 +
src/configure.in | 6 +---
src/kadmin/dbutil/t_tdumputil.py | 4 +-
src/tests/jsonwalker.py | 16 ++++++------
src/tests/t_cve-2012-1014.py | 2 +-
src/tests/t_cve-2012-1015.py | 2 +-
src/tests/t_hostrealm.py | 4 ++-
src/tests/t_kdb.py | 11 +++----
src/tests/t_keytab.py | 34 ++++++++++++------------
src/tests/t_mkey.py | 6 ++--
src/tests/t_otp.py | 7 +++--
src/tests/t_tabdump.py | 4 +-
src/util/Makefile.in | 1 +
src/util/k5test.py | 51 ++++++++++++++++++++------------------
src/util/princflags.py | 25 +++++++++---------
15 files changed, 89 insertions(+), 85 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Fix some broken tests for Python 3

Remove python2 dependencies in .travis.yml and add python3-paste.
Convert t_daemon.py and jsonwalker.py to python3. csjon has no
python3 version, so replace it with python's built-in JSON module.

python3-pyrad isn't available for Trusty, so krad and OTP tests are
currently not exercised by Travis.

[ghudson@mit.edu: squashed commits; edited commit message]

https://github.com/krb5/krb5/commit/d1fb3551c0dff5c3e6555b31fcbf04ff04d577fe
Author: Robbie Harwood <rharwood@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: d1fb3551c0dff5c3e6555b31fcbf04ff04d577fe
Branch: master
.travis.yml | 2 +-
src/lib/krad/t_daemon.py | 2 +-
src/tests/jsonwalker.py | 16 +++++-----------
3 files changed, 7 insertions(+), 13 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Fix k5test prompts for Python 3

With Python 3, sys.stdout.write() of a partial line followed by
sys.stdin.readline() does not display the partial line. Add explicit
flushes to make prompts visible in k5test.py.

https://github.com/krb5/krb5/commit/297535b72177dcced036b78107e9d0e37781c7a3
Author: Greg Hudson <ghudson@mit.edu>
Commit: 297535b72177dcced036b78107e9d0e37781c7a3
Branch: master
src/util/k5test.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)