From 2d4e681f8debfda934a2fefdc84658643cb4a168 Mon Sep 17 00:00:00 2001 From: William King Date: Thu, 22 Jul 1999 15:29:20 +0000 Subject: [PATCH] data for dns_name_towire test --- bin/tests/names/dns_name_towire_1_data | 20 ++++++++++++++++++++ bin/tests/names/dns_name_towire_2_data | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 bin/tests/names/dns_name_towire_1_data create mode 100644 bin/tests/names/dns_name_towire_2_data 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