* tests/test-unlockpt.c (main): Skip the test on Haiku.
* doc/posix-functions/unlockpt.texi: Update platforms list.
+2024-09-03 Bruno Haible <bruno@clisp.org>
+
+ unlockpt tests: Avoid test failure on Haiku.
+ * tests/test-unlockpt.c (main): Skip the test on Haiku.
+ * doc/posix-functions/unlockpt.texi: Update platforms list.
+
2024-09-02 Bruno Haible <bruno@clisp.org>
utime, futimens tests: Avoid test failure on Haiku.
@itemize
@item
This function reports success for invalid file descriptors on some platforms:
-NetBSD 5.1, Cygwin 1.7.9.
+NetBSD 5.1, Cygwin 1.7.9, Haiku.
@end itemize
main (void)
{
/* Test behaviour for invalid file descriptors. */
-#if !defined __NetBSD__ /* known bug on NetBSD 5.1 */
+#if !(defined __NetBSD__ || defined __HAIKU__) /* known bug on NetBSD 5.1, Haiku */
{
errno = 0;
ASSERT (unlockpt (-1) == -1);