test_client_put_stop: adapted test for GNU Hurd kernel

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-07-31 13:21:02 +02:00
parent e45936da81
commit 26d501f796
+3
View File
@@ -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;