From c9e4f8623642fc005c97830256000bef5680aa26 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 14 Jun 2012 10:42:39 +0100 Subject: 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. --- tests/aspath_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/aspath_test.c') 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) -- cgit v1.2.1