Apply spelling fixes.

Fixes from PR #30 (ka7) and Bug #925 (fossies.org codespell)
This commit is contained in:
Todd C. Miller
2020-05-06 09:27:43 -06:00
parent 5d3f635ae8
commit 0cf2e09e0c
30 changed files with 55 additions and 55 deletions

View File

@@ -36,7 +36,7 @@ class DebugDemoPlugin(sudo.Plugin):
load logs python plugin loading / unloading
Log levels
crit sudo.DEBUG.CRIT --> only cricital messages
crit sudo.DEBUG.CRIT --> only critical messages
err sudo.DEBUG.ERROR
warn sudo.DEBUG.WARN
notice sudo.DEBUG.NOTICE

View File

@@ -173,7 +173,7 @@ check_example_io_plugin_version_display(int is_verbose)
python_io->close(0, 0); // this should not call the python plugin close as there was no command run invocation
if (is_verbose) {
// Note: the exact python version is environment dependant
// Note: the exact python version is environment dependent
VERIFY_STR_CONTAINS(data.stdout_str, "Python interpreter version:");
*strstr(data.stdout_str, "Python interpreter version:") = '\0';
VERIFY_STDOUT(expected_path("check_example_io_plugin_version_display_full.stdout"));
@@ -707,7 +707,7 @@ check_example_policy_plugin_version_display(int is_verbose)
python_policy->close(0, 0); // this should not call the python plugin close as there was no command run invocation
if (is_verbose) {
// Note: the exact python version is environment dependant
// Note: the exact python version is environment dependent
VERIFY_STR_CONTAINS(data.stdout_str, "Python interpreter version:");
*strstr(data.stdout_str, "Python interpreter version:") = '\0';
VERIFY_STDOUT(expected_path("check_example_policy_plugin_version_display_full.stdout"));

View File

@@ -31,7 +31,7 @@ struct TestData data;
static void
clean_output(char *output)
{
// we replace some output which otherwise would be test run dependant
// we replace some output which otherwise would be test run dependent
str_replace_in_place(output, MAX_OUTPUT, data.tmp_dir, TEMP_PATH_TEMPLATE);
if (data.tmp_dir2)