* tests/test-sethostname2.c (main): On Haiku, skip the "too long
hostname" test.
* doc/glibc-functions/sethostname.texi: Mention the Haiku problem.
+2025-07-23 Collin Funk <collin.funk1@gmail.com>
+
+ sethostname tests: Avoid test failure on Haiku.
+ * tests/test-sethostname2.c (main): On Haiku, skip the "too long
+ hostname" test.
+ * doc/glibc-functions/sethostname.texi: Mention the Haiku problem.
+
2025-07-23 Bruno Haible <bruno@clisp.org>
run-test: Suggest a more reliable way of invoking valgrind.
@item
This function does not reject a too long host name on some platforms:
@c https://cygwin.com/pipermail/cygwin/2024-May/255986.html
-Cygwin 3.5.3.
+@c https://dev.haiku-os.org/ticket/19692
+Cygwin 3.5.3, Haiku.
@end itemize
#endif
}
- /* Known Cygwin bug:
- <https://cygwin.com/pipermail/cygwin/2024-May/255986.html> */
-#if !defined __CYGWIN__
+ /* Known bug on Cygwin and Haiku:
+ <https://cygwin.com/pipermail/cygwin/2024-May/255986.html>
+ <https://dev.haiku-os.org/ticket/19692>. */
+#if !(defined __CYGWIN__ || defined __HAIKU__)
{
char longname[HOST_NAME_MAX + 2];