diff options
author | Maria Matejka <mq@ucw.cz> | 2023-01-18 14:31:11 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-01-19 11:00:38 +0100 |
commit | 34aeafbf9ea98c8644f6403b3810ff0490350465 (patch) | |
tree | c8074ec8410d66d445c5e7d584401620b2b6c921 /lib/a-path_test.c | |
parent | 47e4e97db484e6b8ba5f05e6cc7164f35488f53b (diff) |
Removed config reparsing from unrelated tests
Diffstat (limited to 'lib/a-path_test.c')
-rw-r--r-- | lib/a-path_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/a-path_test.c b/lib/a-path_test.c index c6f8ce8b..08c6c96c 100644 --- a/lib/a-path_test.c +++ b/lib/a-path_test.c @@ -78,13 +78,13 @@ t_path_format(void) bt_debug("Prepending ASN: %10u \n", i); } -#define BUFFER_SIZE 120 - byte buf[BUFFER_SIZE] = {}; +#define T_BUFFER_SIZE 120 + byte buf[T_BUFFER_SIZE] = {}; - as_path_format(&empty_as_path, buf, BUFFER_SIZE); + as_path_format(&empty_as_path, buf, T_BUFFER_SIZE); bt_assert_msg(strcmp(buf, "") == 0, "Buffer(%zu): '%s'", strlen(buf), buf); - as_path_format(as_path, buf, BUFFER_SIZE); + as_path_format(as_path, buf, T_BUFFER_SIZE); bt_assert_msg(strcmp(buf, "4294967294 4294967293 4294967292 4294967291 4294967290 4294967289 4294967288 4294967287 4294967286 4294967285") == 0, "Buffer(%zu): '%s'", strlen(buf), buf); #define SMALL_BUFFER_SIZE 25 |