diff options
author | Paul Jakma <paul@quagga.net> | 2012-06-14 10:42:39 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-06-19 13:40:22 +0100 |
commit | c9e4f8623642fc005c97830256000bef5680aa26 (patch) | |
tree | 00a40a75d31cf30727c6dabf8066054e72092647 /tests/aspath_test.c | |
parent | cccbc0151883cfb4f43d6fa0a4a3caedc27e6cf5 (diff) |
tests: BGP unit tests to set BGP_OPT_NO_LISTEN so they can run
BGP tests had been broken by auto-creation of listen socket. This allows
them to run at least, though at least 1 test seems to have other breakage,
aspath_test.
Diffstat (limited to 'tests/aspath_test.c')
-rw-r--r-- | tests/aspath_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/aspath_test.c b/tests/aspath_test.c index 83eb9d80..9170455f 100644 --- a/tests/aspath_test.c +++ b/tests/aspath_test.c @@ -1259,6 +1259,7 @@ main (void) int i = 0; bgp_master_init (); master = bm->master; + bgp_option_set (BGP_OPT_NO_LISTEN); bgp_attr_init (); while (test_segments[i].name) |