summaryrefslogtreecommitdiffstats
path: root/tests/aspath_test.c
Commit message (Collapse)AuthorAgeFilesLines
* [bgpd] aspath_loop_check was broken, fix it and the aspath unit test code.Paul Jakma2006-08-061-3/+3
| | | | | | | | | | | 2006-08-06 Paul Jakma <paul.jakma@sun.com> * bgp_aspath.c: (aspath_loop_check) Fix the typo-bug which essentially had disabled this check. Problem reported by Bartek Kania <mrbk@gnarf.org> in [quagga-users 7388]. * aspath_test.c: (validate) Fix the sense of the aspath_loop_check, which was the wrong way around and had actually been testing for aspath_loop_check to be buggy.
* [tests] fix heavy-wq, add redundant AS_SET test and statics to aspath_testPaul Jakma2006-03-301-3/+17
| | | | | | | | | | 2006-03-16 Paul Jakma <paul.jakma@sun.com> * heavy-wq.c: (heavy_wq_init) delay is gone from workqueue spec. * aspath_test.c: (test_segments) Add an AS_SET with redundant ASNs. ({empty_prepend,prepend,parse}_test) add static qualifiers
* 2006-01-16 Paul Jakma <paul.jakma@sun.com>paul2006-01-161-1/+5
| | | | | * aspath_test.c: (validate) free the temporary aspaths. (empty_get_test) ditto.
* [tests] Add empty-path and sequence+1ASN test data to aspath_test.cpaul2005-11-231-1/+21
| | | | | | | | | | 2005-11-23 Paul Jakma <paul.jakma@sun.com> * aspath_test.c: Add an empty aspath to test segments, and to compare tests. Add a segment identical to seq1, but with one extra asn. Fix bogus free of stream in make_aspath for case where no stream was allocated (empty path data).
* 2005-10-11 Paul Jakma <paul.jakma@sun.com>paul2005-10-111-3/+3
| | | | | | * test-privs.c: Privileges unit test. * Makefile.am: build testprivs * aspath_test.c: fix a few sign warnings
* 2005-09-06 Paul Jakma <paul@dishone.st>paul2005-09-101-0/+806
* aspath_test.c: Test bgp_aspath functionality. * Makefile.am: build aspathtest * ChangeLog: Fix date of previous commit