mirror_frr/tests
David Lamparter 8b16ed74fa tests/bgpd: don't hardcode error number (fix f57000c)
f57000c ("bgpd: don't send NOTIFY twice for malformed attrs") introduces
BGP_ATTR_PARSE_ERROR_NOTIFYPLS as additional error code that implies the
caller should sent a NOTIFY and convert it to BGP_ATTR_PARSE_ERROR.
Sadly, the latter was hardcoded in bgp_mp_attr_test.c, which now didn't
consider the new value to be an error.

Make the testcase treat all nonzero values as error without discern.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2014-08-18 01:49:17 +02:00
..
bgpd.tests tests: DejaGNU bgpd 2013-04-14 16:01:11 +02:00
config tests: DejaGNU libzebra 2013-04-14 16:01:19 +02:00
lib tests: DejaGNU libzebra 2013-04-14 16:01:19 +02:00
libzebra.tests tests: Add tests for timers 2014-04-22 21:15:11 +02:00
.gitignore tests: Add tests for timers 2014-04-22 21:15:11 +02:00
aspath_test.c tests: update & extend AS_PATH tests 2013-02-01 17:55:04 +01:00
bgp_capability_test.c tests: BGP unit tests to set BGP_OPT_NO_LISTEN so they can run 2012-06-19 13:40:22 +01:00
bgp_mp_attr_test.c tests/bgpd: don't hardcode error number (fix f57000c) 2014-08-18 01:49:17 +02:00
bgp_mpath_test.c tests: BGP unit tests to set BGP_OPT_NO_LISTEN so they can run 2012-06-19 13:40:22 +01:00
ecommunity_test.c tests: Fix some compile errors and warnings 2012-05-02 11:02:10 +01:00
global-conf.exp tests: add DejaGNU framework 2013-04-14 16:01:05 +02:00
heavy-thread.c 2004-05-25 Paul Jakma <paul@dishone.st> 2005-04-25 16:42:24 +00:00
heavy-wq.c delete CVS keywords 2011-09-27 21:34:26 +04:00
heavy.c 2004-05-25 Paul Jakma <paul@dishone.st> 2005-04-25 16:42:24 +00:00
main.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
Makefile.am tests: Add tests for timers 2014-04-22 21:15:11 +02:00
prng.c tests: add a test program for lib/command.c 2014-04-01 17:38:29 +02:00
prng.h tests: add a test program for lib/command.c 2014-04-01 17:38:29 +02:00
table_test.c lib/table: add route_table_get_next() and iterator 2012-09-26 21:50:48 +02:00
test-buffer.c 2004-09-06 Paul Jakma <paul@dishone.st> 2005-09-06 23:08:01 +00:00
test-checksum.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
test-commands.c lib/command.c: rewrite command matching/parsing 2014-04-01 20:21:41 +02:00
test-memory.c 2004-05-13 Paul Jakma <paul@dishone.st> 2005-04-13 03:31:35 +00:00
test-nexthop-iter.c zebra: rework recursive route resolution 2013-09-19 18:04:40 +02:00
test-privs.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
test-segv.c lib: fix backtraces broken by 837d16c... 2014-03-21 06:28:48 +01:00
test-sig.c tests: fix missing array_size() include 2012-11-03 09:13:23 -07:00
test-stream.c [tests] Add small unit test for the new stream functions 2006-01-10 14:49:04 +00:00
test-timer-correctness.c tests: Add tests for timers 2014-04-22 21:15:11 +02:00
test-timer-performance.c tests: Add tests for timers 2014-04-22 21:15:11 +02:00
testcommands.in ospfd/ospf_vty.c: use keyword cmd style 2014-04-01 20:21:42 +02:00
testcommands.refout ospfd/ospf_vty.c: use keyword cmd style 2014-04-01 20:21:42 +02:00