[sudo-commits] sudo changeset 12339:aaa06cb5fac1

Todd C. Miller Todd.Miller at sudo.ws
Tue Apr 7 14:12:39 MDT 2020


changeset:	12339:aaa06cb5fac1 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/aaa06cb5fac1
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Apr 07 14:03:58 2020 -0600

Log Message:
	Make most python tests pass with Python 3.4
	Dictionary order is not stable in Python < 3.6 so we need to sort
	by key to have consistent results.
	The LogHandler output is also different on older Python versions.
	Also, don't stop running python tests after the first error.

diffstat:

 plugins/python/pyhelpers.c                                                          |  29 +++++-
 plugins/python/python_plugin_common.c                                               |   4 +-
 plugins/python/regress/check_python_examples.c                                      |   5 +-
 plugins/python/regress/iohelpers.c                                                  |   2 +-
 plugins/python/regress/plugin_approval_test.py                                      |   2 +-
 plugins/python/regress/testdata/check_example_debugging_c_calls at diag.log            |   6 +-
 plugins/python/regress/testdata/check_example_debugging_c_calls at info.log            |   6 +-
 plugins/python/regress/testdata/check_example_debugging_py_calls at diag.log           |   2 +-
 plugins/python/regress/testdata/check_example_debugging_py_calls at info.log           |   2 +-
 plugins/python/regress/testdata/check_example_policy_plugin_validate_invalidate.log |   2 +-
 plugins/python/regress/testdata/check_loading_fails_wrong_classname.stderr          |   2 +-
 plugins/python/regress/testdata/check_multiple_approval_plugin_and_arguments.stdout |  50 +++++-----
 plugins/python/regress/testhelpers.h                                                |  14 +-
 13 files changed, 77 insertions(+), 49 deletions(-)


More information about the sudo-commits mailing list