0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00
bird/test
Ondrej Zajicek fc2b4b26a6 Fixed crash if logging happened in unit tests
The patch initializes logging in unit tests. Previously, unit tests did
not initialize logging and other subsystems, just resources. But
resource_init() could under certain circumstances trigger logging and
cause crash.

The bug was Found by Jakub Ruzicka, dissected by David Petera and Maria
Matejka, disguised as failing build for Debian arm64 in pbuilder
emulation which did not like disabling THP.

Fixes #42.
2024-11-27 04:15:16 +01:00
..
birdtest.c Fixed crash if logging happened in unit tests 2024-11-27 04:15:16 +01:00
birdtest.h Nest: Add tests and benchmark for FIB 2023-05-16 13:25:48 +02:00
bt-utils.c MPLS subsystem 2023-10-04 13:01:21 +02:00
bt-utils.h Nest: Add tests and benchmark for FIB 2023-05-16 13:25:48 +02:00
Makefile Unit Testing for BIRD 2016-11-09 16:36:34 +01:00