diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-05 17:46:59 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-05 17:46:59 +0900 |
commit | 5abbc294229cca582d0b104b86be534de2be66ea (patch) | |
tree | 87f960b8a17efc1c20e0c238f2be183a5356f95f /src/gnsrecord | |
parent | 1d670b15e2367b1e8668f4f4d81d73f540580e2f (diff) | |
download | gnunet-5abbc294229cca582d0b104b86be534de2be66ea.tar.gz gnunet-5abbc294229cca582d0b104b86be534de2be66ea.zip |
-fix test ftbfs
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/test_gnsrecord_block_expiration.c | 2 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_crypto.c | 1 | ||||
-rw-r--r-- | src/gnsrecord/test_gnsrecord_serialization.c | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/gnsrecord/test_gnsrecord_block_expiration.c b/src/gnsrecord/test_gnsrecord_block_expiration.c index d14ce3914..69f7f6aa1 100644 --- a/src/gnsrecord/test_gnsrecord_block_expiration.c +++ b/src/gnsrecord/test_gnsrecord_block_expiration.c | |||
@@ -79,7 +79,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
79 | rd[1].record_type = TEST_RECORD_TYPE; | 79 | rd[1].record_type = TEST_RECORD_TYPE; |
80 | rd[1].data_size = TEST_RECORD_DATALEN; | 80 | rd[1].data_size = TEST_RECORD_DATALEN; |
81 | rd[1].data = GNUNET_malloc (TEST_RECORD_DATALEN); | 81 | rd[1].data = GNUNET_malloc (TEST_RECORD_DATALEN); |
82 | rd[1].flags = GNUNET_GNSRECORD_RF_SHADOW_RECORD; | 82 | rd[1].flags = GNUNET_GNSRECORD_RF_SHADOW; |
83 | memset ((char *) rd[1].data, TEST_RECORD_DATA, TEST_RECORD_DATALEN); | 83 | memset ((char *) rd[1].data, TEST_RECORD_DATA, TEST_RECORD_DATALEN); |
84 | 84 | ||
85 | GNUNET_assert (expiration_abs_shadow.abs_value_us == | 85 | GNUNET_assert (expiration_abs_shadow.abs_value_us == |
diff --git a/src/gnsrecord/test_gnsrecord_crypto.c b/src/gnsrecord/test_gnsrecord_crypto.c index ad7b62cc8..5b1032f1e 100644 --- a/src/gnsrecord/test_gnsrecord_crypto.c +++ b/src/gnsrecord/test_gnsrecord_crypto.c | |||
@@ -23,7 +23,6 @@ | |||
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
26 | #include "gnunet_dnsparser_lib.h" | ||
27 | #include "gnunet_gnsrecord_lib.h" | 26 | #include "gnunet_gnsrecord_lib.h" |
28 | 27 | ||
29 | #define RECORDS 5 | 28 | #define RECORDS 5 |
diff --git a/src/gnsrecord/test_gnsrecord_serialization.c b/src/gnsrecord/test_gnsrecord_serialization.c index d268cb7f3..b06b3a0fe 100644 --- a/src/gnsrecord/test_gnsrecord_serialization.c +++ b/src/gnsrecord/test_gnsrecord_serialization.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
26 | #include "gnunet_gnsrecord_lib.h" | 26 | #include "gnunet_gnsrecord_lib.h" |
27 | #include "gnunet_dnsparser_lib.h" | ||
28 | 27 | ||
29 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) | 28 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) |
30 | 29 | ||