commit dd12062b919461ff555fd72ee4cbfd44796747e1
parent ec8439e4bd8b3253cfe86667f771b50372d46816
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 30 Jan 2024 21:02:15 +0100
check oauth2 server start succeeded
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/testing/testing_api_cmd_oauth.c b/src/testing/testing_api_cmd_oauth.c
@@ -353,6 +353,12 @@ oauth_run (void *cls,
&handler_cb, oas,
MHD_OPTION_NOTIFY_COMPLETED, &cleanup, NULL,
NULL);
+ if (NULL == oas->mhd)
+ {
+ GNUNET_break (0);
+ TALER_TESTING_interpreter_fail (is);
+ return;
+ }
TALER_TESTING_interpreter_next (is);
}