aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup_shadow_filter.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-06-05 00:37:06 +0200
committerChristian Grothoff <christian@grothoff.org>2018-06-05 00:37:06 +0200
commit1f083a4593b1f07dcf24549853963dedde7f4d02 (patch)
treee57137969a8a0cfd5af064cd063177936c6b894a /src/namestore/test_namestore_api_lookup_shadow_filter.c
parent324f6168c2374d7bb71c3632fb6521860d8fdfa1 (diff)
downloadgnunet-1f083a4593b1f07dcf24549853963dedde7f4d02.tar.gz
gnunet-1f083a4593b1f07dcf24549853963dedde7f4d02.zip
use real GNS record types in tests to avoid failures in new extra serialization/deserialization checking
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_shadow_filter.c')
-rw-r--r--src/namestore/test_namestore_api_lookup_shadow_filter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_lookup_shadow_filter.c b/src/namestore/test_namestore_api_lookup_shadow_filter.c
index 09fd8ce07..0ccdf1f4b 100644
--- a/src/namestore/test_namestore_api_lookup_shadow_filter.c
+++ b/src/namestore/test_namestore_api_lookup_shadow_filter.c
@@ -28,9 +28,11 @@
28#include "gnunet_namecache_service.h" 28#include "gnunet_namecache_service.h"
29#include "gnunet_namestore_service.h" 29#include "gnunet_namestore_service.h"
30#include "gnunet_testing_lib.h" 30#include "gnunet_testing_lib.h"
31#include "gnunet_dnsparser_lib.h"
32
33#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT
31 34
32#define TEST_NAME "dummy.dummy.gnunet" 35#define TEST_NAME "dummy.dummy.gnunet"
33#define TEST_RECORD_TYPE 1234
34#define TEST_RECORD_DATALEN 123 36#define TEST_RECORD_DATALEN 123
35#define TEST_RECORD_DATA 'a' 37#define TEST_RECORD_DATA 'a'
36#define TEST_SHADOW_RECORD_DATA 'b' 38#define TEST_SHADOW_RECORD_DATA 'b'