summaryrefslogtreecommitdiff
path: root/lib/vector.c
diff options
context:
space:
mode:
authorPascal Mathis <mail@pascalmathis.com>2018-05-28 18:50:52 +0200
committerPascal Mathis <mail@pascalmathis.com>2018-05-28 22:07:53 +0200
commitf9067479617fa6237abd9dc0391ae6ea14aa16a7 (patch)
tree3a4e223c26fd04e4d753ba75a9cc66d565e8f890 /lib/vector.c
parentcf9ac8bfb04288a9befd0c38de2259e5f7ee4544 (diff)
tests: Improve test suite for peer attributes
This commit improves the previous implementation of the peer attribute test suite by getting rid of some really ugly macros and replacing them with sane functions. Additionally, the macro TEST_ASSERT was changed to TEST_ASSERT_EQ (== comparison) which now also prints the line where the assertion has been infringend. This should make it way more clear where a specific issue has been spotted. Last but not least, the multicast families for both IPv4 and IPv6 had been added as they are working without any further changes or special cases for all currently existing peer attributes. Other AFI/SAFI references have been removed to keep the code clean. Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'lib/vector.c')
0 files changed, 0 insertions, 0 deletions