diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2015-12-11 22:12:56 +0100 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2015-12-11 22:12:56 +0100 |
commit | 3ffe142a3ad4fb0f5cc02b88a563dab45295b52a (patch) | |
tree | b1501a2cf3163610fcc6eb29403a2d972fd6056f /tests/bgp_mpath_test.c | |
parent | zebra: Reorganize NHT code (diff) | |
download | frr-3ffe142a3ad4fb0f5cc02b88a563dab45295b52a.tar.xz frr-3ffe142a3ad4fb0f5cc02b88a563dab45295b52a.zip |
Quagga: make check is broken with addpath changes
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-8472
The first as-path is what the original as-path for the test, the second
is what the as-path should look like once all confed SETs and SEQs have
been removed. At the time the test was written quagga did not correctly
remove confed SETs and SEQs but whoever wrote the test didn't notice
this and assumed that the behavior they were seeing was correct so used
that output to populate the second as-path.
Now that we do correctly remove the confed parts these tests fail. So
the fix is to update the second as-path for these two tests so that they
no longer contain any confed SETs/SEQs.
Diffstat (limited to 'tests/bgp_mpath_test.c')
-rw-r--r-- | tests/bgp_mpath_test.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/bgp_mpath_test.c b/tests/bgp_mpath_test.c index e937784aa..3b0a3de05 100644 --- a/tests/bgp_mpath_test.c +++ b/tests/bgp_mpath_test.c @@ -104,9 +104,6 @@ bgp_create_fake (as_t *as, const char *name) bgp->group = list_new (); //bgp->group->cmp = (int (*)(void *, void *)) peer_group_cmp; - bgp->rsclient = list_new (); - //bgp->rsclient->cmp = (int (*)(void*, void*)) peer_cmp; - for (afi = AFI_IP; afi < AFI_MAX; afi++) for (safi = SAFI_UNICAST; safi < SAFI_MAX; safi++) { |