-/* $OpenBSD: runtest.c,v 1.4 2016/09/05 10:15:24 vgross Exp $ */
+/* $OpenBSD: runtest.c,v 1.5 2017/07/06 13:20:54 bluhm Exp $ */
/*
* Copyright (c) 2015 Vincent Gross <vincent.gross@kilob.yt>
*
int test_rc, rc, *s;
int sockets[4];
+ test_rc = 0;
rc = 0; s = sockets;
rc |= runtest(s++, local, 0, 0, NULL, 0);
rc |= runtest(s++, any, 0, 0, NULL, EADDRINUSE);
int sockets[6];
int testnum = 1;
+ test_rc = 0;
rc = 0; s = sockets;
rc |= runtest(s++, local, 0, 0, mr, 0);
rc |= runtest(s++, local, 1, 0, mr, EADDRINUSE);
int sockets[4];
int testnum = 1;
+ test_rc = 0;
rc = 0; s = sockets;
rc |= runtest(s++, local, 0, 0, local_mreq, 0);
rc |= runtest(s++, any, 0, 0, any_mreq, EADDRINUSE);