From f50ae72ec3417cae55dd4e085991c01af9fdc5f1 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Wed, 11 Feb 2009 20:37:59 +0100 Subject: Initial commit --- bin/tests/names/dns_name_fromwire_4_data | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bin/tests/names/dns_name_fromwire_4_data (limited to 'bin/tests/names/dns_name_fromwire_4_data') diff --git a/bin/tests/names/dns_name_fromwire_4_data b/bin/tests/names/dns_name_fromwire_4_data new file mode 100644 index 0000000..b76b326 --- /dev/null +++ b/bin/tests/names/dns_name_fromwire_4_data @@ -0,0 +1,30 @@ +# +# test data for dns_name_fromwire_4 +# format: +# +# +# +# where msgfile contains a DNS message in hex form +# +# and where testname_offset is the byte offset in this message of +# the start of a name +# +# and where downcase is 1 or 0 +# +# and where dc_method is one of +# DNS_COMPRESS_ALL +# DNS_COMPRESS_GLOBAL14 +# DNS_COMPRESS_NONE +# +# and where exp_name is the expected name after any decompression +# or case conversion +# +# and where exp_result may be one of +# ISC_R_NOSPACE +# DNS_R_BADLABELTYPE +# DNS_R_DISALLOWED +# DNS_R_BADPOINTER +# ISC_R_UNEXPECTEDEND +# DNS_R_TOOMANYHOPS +# +wire_test4.data 550 1 DNS_COMPRESS_ALL vix.com. DNS_R_NAMETOOLONG -- cgit