Pavel Tvrdík
2fcae1f9fc
Birdtest: do not use strcpy()
2015-11-02 13:28:15 +01:00
Pavel Tvrdík
ed6571ca67
Fix print format of integer variables
2015-10-22 16:47:24 +02:00
Pavel Tvrdík
2766155c7a
Remove unused variable
2015-10-22 16:47:24 +02:00
Ondrej Zajicek (work)
8eb8e546dc
Merge branch 'master' into rip-new
2015-10-17 14:44:34 +02:00
Ondrej Zajicek (work)
acb04cfdc5
Minor changes
2015-10-17 14:43:37 +02:00
Ondrej Zajicek (work)
8465dccb06
Major RIP redesign
...
The new RIP implementation fixes plenty of old bugs and also adds support
for many new features: ECMP support, link state support, BFD support,
configurable split horizon and more. Most options are now per-interface.
2015-10-05 13:18:10 +02:00
Pavel Tvrdík
2e2078d913
Birdtest: filter FIXME
2015-09-01 15:10:55 +02:00
Pavel Tvrdík
7a76c0369e
Birdtest: nest/a-set (finished)
2015-09-01 14:01:02 +02:00
Pavel Tvrdík
c8f081e5e8
Birdtest: Fixing macro ARGip4(x) for non-debugging environment
2015-09-01 08:54:59 +02:00
Pavel Tvrdík
fcda50cfcd
Birdtest: nest/a-set (unfinished)
2015-08-28 15:57:10 +02:00
Pavel Tvrdík
ce5878d2fc
Birdtest: nest/a-path
2015-08-28 15:56:46 +02:00
Pavel Tvrdík
4fb506466c
Birdtest: filter/trie
...
Thanks to Santiago for reuse here his code.
bt_rand_num() -> bt_random()
2015-08-28 15:56:35 +02:00
Pavel Tvrdík
45e65e8232
Birdtest: fixing test framework build
2015-08-19 15:11:10 +02:00
Pavel Tvrdík
4885a7167e
Birdtest: add test for filter/tree.c
2015-08-19 14:57:54 +02:00
Pavel Tvrdík
1c7e2c284b
Birdtets: filters (unfinished)
...
- Updates old tests
2015-08-19 14:57:54 +02:00
Pavel Tvrdík
810090517b
_GNU_SOURCE for setresuid()
2015-08-19 14:57:54 +02:00
Pavel Tvrdík
e96f1ea735
Make async_*_flag as global shared variables
2015-08-19 14:57:54 +02:00
Pavel Tvrdík
daaa115943
Birdtest: add some utils to framework
...
and updates old tests
2015-08-19 14:57:34 +02:00
Ondrej Zajicek
b5e76398de
OSPF: Fixes some issues with link detection
...
Thanks to Bernardo Figueiredo and Israel G. Lugo for the bugreport.
2015-08-19 11:16:23 +02:00
Pavel Tvrdík
39059e21b7
Birdtest: Add unfinished filter test
...
Add birdtest utils for testing parsing configurations files
Add tests with parsing filter examples
2015-08-14 16:14:32 +02:00
Pavel Tvrdík
aa96f486e0
Birdtest: Improve reliable
...
Fixing some bugs
Add option to call birdtest with an argument (void *)
2015-08-14 16:08:04 +02:00
Ondrej Zajicek
0f38795b33
Netlink: Fixes uninitialized variable
...
Thanks to Pavel Tvrdik for the bugfix
2015-08-13 14:38:41 +02:00
Pavel Tvrdík
e0176f2639
Birdtest: Clean up unit tests from mock-ups
2015-08-05 12:36:40 +02:00
Pavel Tvrdík
856250c27f
Birdtest: Purge 'int main()' from lib/birdlib.a #2
...
All origin static functions from sysdep/unix/main.c were rewrited to
non-static.
All origin static global variables from sysdep/unix/main.c was rewrited
to extern.
It is possible create executables bird, birdc and birdcl as well as run
unit tests without mockuping
After remake new BIRD's build system will be this commit reverting...
2015-08-05 12:36:40 +02:00
Pavel Tvrdík
ce8d15a02d
Birdtest: Purge 'int main()' from lib/birdlib.a #1
...
We need link lib/birdlib.a and remaining */all.o to tests (mockups suck)
Code from sysdep/unix/main.c is moved without 'int main()' function
to the sysdep/unix/main_helper.c
Yes, it is dirty...
After remake new BIRD's build system will be this commit reverting...
Actually it is not possible to build executable bird, birdc nor birdcl
due duplicity of functions in main_helper.o in lib/birdlib.a and
lib/main.o
2015-08-05 12:36:40 +02:00
Pavel Tvrdík
d51a3385a6
Birdtest: Fixing outputs at 'exotic' OS
2015-08-05 12:36:40 +02:00
Pavel Tvrdík
aad0af2fd7
Birdtest: Add an another verbose level for tests
2015-08-04 14:40:40 +02:00
Pavel Tvrdík
3ed4f968c0
Birdtest: Add Fletcher-16 Checksum Tests
2015-08-04 14:23:12 +02:00
Pavel Tvrdík
f594ab67bb
Revert "Birdtest: U64_C() macro"
...
This reverts commit 804ee1458d
.
And make better solution with stdint.h and UINT64_C macro.
Thanks to Ondrej Zajicek.
2015-08-04 10:31:50 +02:00
Pavel Tvrdík
d16050108f
Birdtest: Tunning IP tests, Hash tests
2015-08-04 10:26:33 +02:00
Pavel Tvrdík
2d9b796bc5
Revert "Linking: move LDFLAGS at the end of commands"
...
This reverts commit 9334886d1a
.
Thanks to Ondrej Zajicek.
2015-08-04 10:08:43 +02:00
Pavel Tvrdík
182f73dfba
Birdtest: Fix Hash Unit Testing
2015-08-03 15:55:53 +02:00
Pavel Tvrdík
804ee1458d
Birdtest: U64_C() macro
2015-08-03 14:41:20 +02:00
Pavel Tvrdík
ca996d807f
Birdtest: Use origin macros from lib/ip.h
...
Thanks to Ondrej 'Santiago' Zajicek
2015-08-03 09:03:38 +02:00
Pavel Tvrdík
7e035b81cb
Birdtest: Add Pattern Matching Tests
2015-07-29 11:49:51 +02:00
Pavel Tvrdík
9334886d1a
Linking: move LDFLAGS at the end of commands
...
Better support gcov
$ LDFLAGS="-lgcov" CFLAGS="-fprofile-arcs -ftest-coverage" ./configure
2015-07-29 10:42:41 +02:00
Pavel Tvrdík
12879947cf
Birdtest: Fix non-debug compilation of IP tests
2015-07-29 09:51:17 +02:00
Ondrej Zajicek
c7b99a932c
Nest: Fixes one of previous commit
2015-07-28 15:08:21 +02:00
Ondrej Zajicek
dbf4c0cb25
Minor update to test commits
2015-07-28 12:56:51 +02:00
Ondrej Zajicek
641172c6e5
Netlink: Fixes uninitialized variable
...
Thanks to Pavel Tvrdik for the bugfix
2015-07-28 12:36:03 +02:00
Ondrej Zajicek
538264cf1a
Static: Support for BFD controlled static routes
2015-07-24 18:02:07 +02:00
Ondrej Zajicek
1321e12ac4
Static: Allows to specify attributes for static routes
...
The patch adds suport for specifying route attributes together with
static routes, e.g.:
route 10.1.1.0/24 via 10.0.0.1 { krt_advmss = 1200; ospf_metric1 = 100; };
2015-07-20 17:11:10 +02:00
Ondrej Zajicek
ffa398b8d8
BFD: Fixes crash after socket error
...
Thanks to Thomas King for the bugreport.
2015-07-19 11:39:24 +02:00
Ondrej Zajicek
a8ad8fd649
Simplify build messages
...
Thanks to Christian Tacke for the original patch.
2015-07-18 23:15:04 +02:00
Ondrej Zajicek
17661ff934
Nest: Fixes symbols in router id
...
Thanks to Peter Hudec for noticing the problem.
2015-07-18 19:30:35 +02:00
Ondrej Zajicek
6683d42d5b
Documentation update
2015-07-18 19:05:11 +02:00
Ondrej Zajicek
06e0d1b692
BGP: Extended messages support
...
Implements draft-ietf-idr-bgp-extended-messages-10, for now
undocumented and with temporary private capability number.
2015-07-18 13:38:21 +02:00
Ondrej Zajicek
ab4da3423d
Direct: Fixes behavior for the same routes on different interfaces
...
Thanks to Andrew (seti.kr.ua) for the bug report.
2015-07-18 13:05:05 +02:00
Pavel Tvrdík
700cf1c203
SHA256: Remove 32-bit move at the 32-bit number
2015-06-17 12:28:25 +02:00
Ondrej Zajicek
8d9eef1771
BGP multipath support
...
Kernel option 'merge paths' allows to merge routes exported to kernel
protocol (currently BGP and static routes) to multipath routes.
2015-06-08 02:24:08 +02:00