summaryrefslogtreecommitdiff
path: root/test/birdtest.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-12-17 00:01:53 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-12-17 00:01:53 +0100
commit3dabf7b8d09c3188ea41b7e2f763397946943778 (patch)
treecbff2eaaf2be437defb87ff0fcb77427295400d5 /test/birdtest.h
parent3232d1718636eb7617fedc7b27378cd1d8f8691d (diff)
Test: Improve filter_test
Initial parsing of test.conf must be done directly in filter_test main, while reconfiguration is handled as a regular test. Also fix several minor issues in test code.
Diffstat (limited to 'test/birdtest.h')
-rw-r--r--test/birdtest.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/birdtest.h b/test/birdtest.h
index dacfb095..caec529b 100644
--- a/test/birdtest.h
+++ b/test/birdtest.h
@@ -101,12 +101,12 @@ static inline int bt_test_fn_noarg(const void *cp) { return ((int (*)(void)) cp)
#define bt_assert_msg(test, format, ...) \
do \
{ \
- int bt_suit_case_result = 1; \
+ int bt_suit_case_result = 1; \
if ((test) == 0) \
{ \
- bt_result = 0; \
- bt_suite_result = 0; \
- bt_suit_case_result = 0; \
+ bt_result = 0; \
+ bt_suite_result = 0; \
+ bt_suit_case_result = 0; \
} \
bt_log_suite_case_result(bt_suit_case_result, format, ##__VA_ARGS__); \
} while (0)