On 11/17/2015 01:59 PM, Paul Jakma wrote: > This is not-entirely-trivial code, and it's super-central to the > functioning of Quagga. The lack of unit tests has been an issue in the > past, an obstacle to getting fixes and cleanups in.
Fwiw, I did work on RIB tests some time ago. They are currently not up to date, but might be interesting to look at though. I am also contemplating to rework them to apply to the current tree. They are available here: https://github.com/opensourcerouting/quagga/commits/integration-testing an older version of the dst-src rib patches with tests is here https://github.com/cfra/quagga-testing/tree/srcdest An example of the resulting coverage can be seen at: http://nowhere.ws/dump/quagga-srcdest-coverage/zebra/zebra_rib.c.gcov.html I used theses tests to verify the changes I did to recursive route resolution and for dst-src routing. -Christian _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
