diff --git a/test/iomux_test.c b/test/iomux_test.c index 498841d..f5f934c 100644 --- a/test/iomux_test.c +++ b/test/iomux_test.c @@ -338,7 +338,10 @@ main(int argc, char **argv) iomux_t *mux2 = iomux_create(0, 0); - iomux_move(mux, mux2); + + ut_testing("iomux_move(mux, mux2) == 3"); + int moved_connections = iomux_move(mux, mux2); + ut_validate_int(moved_connections, 3); ut_testing("iomux_write(mux2, client, %s, %d)", TEST_STRING, strlen(TEST_STRING)); ut_validate_int(iomux_write(mux2, client, TEST_STRING, strlen(TEST_STRING), IOMUX_OUTPUT_MODE_NONE), strlen(TEST_STRING));