diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-05-03 16:19:44 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-05-04 14:36:14 +0200 |
commit | 4e6a1e5508151d308a53124e4733ae1c1f7b3fb2 (patch) | |
tree | ed90faeb2b49988f11b2a03be9677dece58fc5b5 /tests/tests.cpp | |
parent | 5bba016135cdc13e0f5b537807c516d5f1089d1b (diff) |
Test for backlog exhaustion added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r-- | tests/tests.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 6474300..4071056 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -119,6 +119,10 @@ #include "shutdown.cpp" #undef XS_TEST_MAIN +#define XS_TEST_MAIN backlog +#include "backlog.cpp" +#undef XS_TEST_MAIN + int main () { int rc; @@ -167,6 +171,8 @@ int main () assert (rc == 0); rc = shutdown (); assert (rc == 0); + rc = backlog (); + assert (rc == 0); fprintf (stderr, "SUCCESS\n"); sleep (1); |