[sudo-commits] sudo changeset 12734:3837f51a8072

Todd C. Miller Todd.Miller at sudo.ws
Wed Nov 11 21:01:52 MST 2020


changeset:	12734:3837f51a8072 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3837f51a8072
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Nov 11 19:04:01 2020 -0700

Log Message:
	Back out regex use in python tests, filter the output instead.
	This makes it possible to regenerate the test output again.
	Also adds an update_test_data target to the Makefile.

diffstat:

 plugins/python/Makefile.in                                                                 |   5 +
 plugins/python/pyhelpers.c                                                                 |   3 +-
 plugins/python/python_plugin_common.c                                                      |   1 +
 plugins/python/regress/iohelpers.h                                                         |   1 -
 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                   |  10 +-
 plugins/python/regress/testdata/check_example_debugging_plugin at info.log                    |   4 +-
 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_group_plugin_is_able_to_debug.log            |   2 +-
 plugins/python/regress/testdata/check_example_io_plugin_command_log.stored                 |   4 +-
 plugins/python/regress/testdata/check_example_io_plugin_command_log_multiple1.stored       |   4 +-
 plugins/python/regress/testdata/check_example_io_plugin_command_log_multiple2.stored       |   4 +-
 plugins/python/regress/testdata/check_example_io_plugin_failed_to_start_command.stored     |   4 +-
 plugins/python/regress/testdata/check_example_io_plugin_fails_with_python_backtrace.stderr |   2 +-
 plugins/python/regress/testdata/check_example_policy_plugin_validate_invalidate.log        |   2 +-
 plugins/python/regress/testdata/check_loading_fails_not_owned_by_root.stderr               |   2 +-
 plugins/python/regress/testdata/check_loading_fails_wrong_classname.stderr                 |   2 +-
 plugins/python/regress/testdata/check_loading_fails_wrong_path.stderr                      |   2 +-
 plugins/python/regress/testdata/check_multiple_approval_plugin_and_arguments.stdout        |  40 +++++-----
 plugins/python/regress/testdata/check_python_plugins_do_not_affect_each_other.stdout       |   8 +-
 plugins/python/regress/testhelpers.c                                                       |  24 +++++-
 plugins/python/regress/testhelpers.h                                                       |  25 +-----
 23 files changed, 84 insertions(+), 75 deletions(-)



More information about the sudo-commits mailing list