]> git.puffer.fish Git - mirror/frr.git/commit
tests: update & extend AS_PATH tests
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 Jan 2013 22:39:17 +0000 (23:39 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 1 Feb 2013 16:55:04 +0000 (17:55 +0100)
commit1cb9cf062ec3ed7a3f13fb5465eb5fb917ce3329
tree4ca551c562d14cdd116155dba6aed6d9087c7f7d
parent5e728e929942d39ce5a4ab3d01c33f7b688c4e3f
tests: update & extend AS_PATH tests

NB: these tests test for current implementation state, not for RFC
conformance.  In particular, behaviour with confederations in AS4_PATH
as well as reconcilation of short AS_PATH + AS4_PATH is currently NOT
conforming to RFC 4893/6793.

* tests/aspath_test.c:  add capability to put both AS4_PATH & AS_PATH,
  add test for AS4_PATH w/o AS_PATH, update confederation test

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
tests/aspath_test.c