1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: test_client_put_stop: adapted test for GNU Hurd kernel
Author: "Evgeny Grin (Karlson2k)" <k2k@narod.ru>
Origin: upstream
Last-Update: 2024-07-31
Forwarded: https://git.gnunet.org/libmicrohttpd.git/patch/?id=26d501f7961211c9c4b0619c2733e3b27111a218
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c
index 97f72f1e..9d141539 100644
--- 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;
|