[gnutls-devel] Parallel test bug in gnutls-3.2.2

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jul 16 10:35:55 CEST 2013


On 07/15/2013 09:43 PM, Adam Sampson wrote:
> Dear GnuTLS folks,
> 
> In 3.2.2, there are a bunch of tests that all try to listen on the same
> TCP port -- grepping for PORT in tests/*.c will find several of these.
> The problem with this is that if you try to run the test suite in
> parallel (e.g. make -j8 check), a random subset of them will fail
> because one of the other tests already has the port bound...
> 
> I guess allocating each test a different port number would be a simple
> fix for this.

Or using socketpair() for all tests. Any patches are appreciated.

regards,
Nikos





More information about the Gnutls-devel mailing list