diff options
Diffstat (limited to 'tests/osmux/osmux_test.c')
-rw-r--r-- | tests/osmux/osmux_test.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c index 0ad02d3..7cc838d 100644 --- a/tests/osmux/osmux_test.c +++ b/tests/osmux/osmux_test.c @@ -205,6 +205,13 @@ int main(void) for (i = 0; i < 4; i++) osmux_xfrm_input_close_circuit(&h_input, i); + /* Reopen with two circuits and retest */ + osmux_xfrm_input_open_circuit(&h_input, 0, 0); + osmux_xfrm_input_open_circuit(&h_input, 1, 1); + osmux_test_loop(0); + osmux_xfrm_input_close_circuit(&h_input, 0); + osmux_xfrm_input_close_circuit(&h_input, 1); + osmux_xfrm_input_fini(&h_input); fprintf(stdout, "OK: Test passed\n"); |