]> git.ipfire.org Git - thirdparty/bird.git/commit
Fixed main birdloop init in unit tests
authorMaria Matejka <mq@ucw.cz>
Mon, 1 Aug 2022 13:17:41 +0000 (15:17 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 1 Aug 2022 13:17:41 +0000 (15:17 +0200)
commitf1d6c66a78758449f00ed709891e24ab3571cc9c
tree669215113540905f345f706d63952a9ed52fb457
parentf60f7dfdee556a12c47940bc6ec3113fdae46a5c
Fixed main birdloop init in unit tests

Some unit tests weren't initializing the birdloop, trying to write the
birdloop ping into stdin. Fixed this and also forced stdin close on
startup of every test just to be sure that CI and local build behave the
same in this. (CI was failing on this while local build not.)
lib/event_test.c
test/birdtest.c
test/bt-utils.c