Commit graph

5 commits

Author SHA1 Message Date
Daniel Salzman
1e9fbcb8d1 conf: add control.backlog configuration option 2024-04-19 14:21:21 +02:00
Daniel Salzman
fbb7f7c497 Various fixes for clang analyzer issues 2019-09-13 16:02:36 +02:00
Daniel Kahn Gillmor
846bb431d2 use https://www.gnu.org instead of http://www.gnu.org
www.gnu.org has offered https for years now.
2018-08-29 09:45:57 -04:00
Petr Špaček
339f7a5fb9 tests: replace ok(ret == KNOT_E???) with is_int(KNOT_E???, ret) to ease debugging
Throwing away unexpected retun codes makes debugging harder.
TAP function is_int can nicely log mismatches which makes debugging easier.

To make our lives easier I replaced all ok(ret == KNOT_E???) checks with
is_int() calls. It was done using following command
+ manual review and reverts in libknot/test_control.c.

$ find -name '*.c' | xargs sed -i 's#ok(ret == \(KNOT_E[0-9A-Z_]\+\),#is_int(\1, ret,#'
2017-01-30 16:47:34 +01:00
Daniel Salzman
f4e5906768 tests: move contrib and libknot tests to separate subdirectories 2016-06-22 11:14:43 +02:00
Renamed from tests/control.c (Browse further)