From dd12062b919461ff555fd72ee4cbfd44796747e1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 30 Jan 2024 21:02:15 +0100 Subject: check oauth2 server start succeeded --- src/testing/testing_api_cmd_oauth.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/testing/testing_api_cmd_oauth.c b/src/testing/testing_api_cmd_oauth.c index 17f0eaa68..535c6d94f 100644 --- 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); } -- cgit v1.2.3