commit 26d501f7961211c9c4b0619c2733e3b27111a218
parent e45936da8150f2b6c508ed4073516c5bb856dcce
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 31 Jul 2024 13:21:02 +0200
test_client_put_stop: adapted test for GNU Hurd kernel
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c
@@ -1889,12 +1889,15 @@ performTestQueries (struct MHD_Daemon *d, uint16_t d_port,
if (! found_right_reason)
{
+#ifndef __gnu_hurd__
fprintf (stderr, "FAILED: termination callback was not called with "
"expected (%s) reason.\n",
term_reason_str ((enum MHD_RequestTerminationCode)
expected_reason));
fflush (stderr);
ret |= 1 << 1;
+#endif /* ! __gnu_hurd__ */
+ (void) 0;
}
return ret;