diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 1a3a2e0..c447428 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -87,6 +87,14 @@ #include "timeo.cpp" #undef XS_TEST_MAIN +#define XS_TEST_MAIN max_sockets +#include "max_sockets.cpp" +#undef XS_TEST_MAIN + +#define XS_TEST_MAIN reentrant +#include "reentrant.cpp" +#undef XS_TEST_MAIN + int main () { int rc; @@ -119,6 +127,10 @@ int main () assert (rc == 0); rc = timeo (); assert (rc == 0); + rc = max_sockets (); + assert (rc == 0); + rc = reentrant (); + assert (rc == 0); fprintf (stderr, "SUCCESS\n"); xs_sleep (1); |