diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-07-31 13:21:02 +0200 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-07-31 13:21:02 +0200 |
commit | 26d501f7961211c9c4b0619c2733e3b27111a218 (patch) | |
tree | 3630e66409eb70c963fa1fcbdf8f631752c26ffe | |
parent | e45936da8150f2b6c508ed4073516c5bb856dcce (diff) | |
download | libmicrohttpd-26d501f7961211c9c4b0619c2733e3b27111a218.tar.gz libmicrohttpd-26d501f7961211c9c4b0619c2733e3b27111a218.zip |
test_client_put_stop: adapted test for GNU Hurd kernel
-rw-r--r-- | src/microhttpd/test_client_put_stop.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, | |||
1889 | 1889 | ||
1890 | if (! found_right_reason) | 1890 | if (! found_right_reason) |
1891 | { | 1891 | { |
1892 | #ifndef __gnu_hurd__ | ||
1892 | fprintf (stderr, "FAILED: termination callback was not called with " | 1893 | fprintf (stderr, "FAILED: termination callback was not called with " |
1893 | "expected (%s) reason.\n", | 1894 | "expected (%s) reason.\n", |
1894 | term_reason_str ((enum MHD_RequestTerminationCode) | 1895 | term_reason_str ((enum MHD_RequestTerminationCode) |
1895 | expected_reason)); | 1896 | expected_reason)); |
1896 | fflush (stderr); | 1897 | fflush (stderr); |
1897 | ret |= 1 << 1; | 1898 | ret |= 1 << 1; |
1899 | #endif /* ! __gnu_hurd__ */ | ||
1900 | (void) 0; | ||
1898 | } | 1901 | } |
1899 | 1902 | ||
1900 | return ret; | 1903 | return ret; |