Skip to content

Commit da7ef4d

Browse files
committed
We may have an error string for functions that return SUDO_RC_REJECT.
1 parent 0d98cb8 commit da7ef4d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/python/regress/check_python_examples.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,6 @@ check_example_conversation_plugin_user_interrupts(void)
669669
VERIFY_INT(python_io->open(SUDO_API_VERSION, fake_conversation, fake_printf, data.settings,
670670
data.user_info, data.command_info, data.plugin_argc, data.plugin_argv,
671671
data.user_env, data.plugin_options, &errstr), SUDO_RC_REJECT);
672-
VERIFY_PTR(errstr, NULL);
673672
python_io->close(0, 0);
674673

675674
VERIFY_STDOUT(expected_path("check_example_conversation_plugin_user_interrupts.stdout"));
@@ -818,7 +817,6 @@ check_example_policy_plugin_denied_execution(void)
818817
VERIFY_INT(python_policy->check_policy(data.plugin_argc, data.plugin_argv, NULL,
819818
&command_info_out, &argv_out, &user_env_out, &errstr),
820819
SUDO_RC_REJECT);
821-
VERIFY_PTR(errstr, NULL);
822820

823821
VERIFY_PTR(command_info_out, NULL);
824822
VERIFY_PTR(argv_out, NULL);

0 commit comments

Comments
 (0)