Re: Why did gnutls28 FTBFS on kfreebsd-*
gnutls28 3.2.6-1/experimental FTBFS on kfreebsd-*. This is
unpreducible on falla, any ideas?
It also failed on mips, in the same test - mini-handshake-timeout.c
It receives SIGPIPE during
gnutls_bye(session, GNUTLS_SHUT_RDWR);
There is a race window, which can be enlarged as shown bellow.
After that it fails also under linux-i386 -> not kfreebsd specific.
Petr
--- tests/mini-handshake-timeout.c
+++ tests/mini-handshake-timeout.c
@@ -181,7 +181,10 @@
while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
if (ret == 0)
+ {
+ sleep(1);
gnutls_bye(session, GNUTLS_SHUT_RDWR);
+ }
}
gnutls_deinit (session);
Reply to: