diff --git a/bin/tests/names/dns_name_towire_1_data b/bin/tests/names/dns_name_towire_1_data new file mode 100644 index 0000000000..916ef29ed4 --- /dev/null +++ b/bin/tests/names/dns_name_towire_1_data @@ -0,0 +1,20 @@ +# test data for dns_name_towire_1 +# format: +# +# +# +# where testname is the test name to be converted to wire format +# +# and where dc_method is one of +# DNS_COMPRESS_ALL +# DNS_COMPRESS_GLOBAL +# DNS_COMPRESS_GLOBAL14 +# DNS_COMPRESS_GLOBAL16 +# DNS_COMPRESS_LOCAL +# DNS_COMPRESS_NONE +# +# and where exp_data is the expected wire format data in hex format +# and where exp_data_len is the length of the expected data in decimal format +# and where exp_result is the expected return value of dns_name_towire +# +a.vix.com. DNS_COMPRESS_NONE 01610376697803636f6d00 11 DNS_R_SUCCESS diff --git a/bin/tests/names/dns_name_towire_2_data b/bin/tests/names/dns_name_towire_2_data new file mode 100644 index 0000000000..a0d43e7b31 --- /dev/null +++ b/bin/tests/names/dns_name_towire_2_data @@ -0,0 +1,20 @@ +# test data for dns_name_towire_1 +# format: +# +# +# +# where testname is the test name to be converted to wire format +# +# and where dc_method is one of +# DNS_COMPRESS_ALL +# DNS_COMPRESS_GLOBAL +# DNS_COMPRESS_GLOBAL14 +# DNS_COMPRESS_GLOBAL16 +# DNS_COMPRESS_LOCAL +# DNS_COMPRESS_NONE +# +# and where exp_data is the expected wire format data in hex format +# and where exp_data_len is the length of the expected data in decimal format +# and where exp_result is the expected return value of dns_name_towire +# +a.vix.com DNS_COMPRESS_NONE 01610376697803636f6d 10 DNS_R_NOSPACE