diff options
Diffstat (limited to 'bin/tests/names/dns_name_fromwire_4_data')
-rw-r--r-- | bin/tests/names/dns_name_fromwire_4_data | 30 |
1 files changed, 30 insertions, 0 deletions
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: +# <msgfile> <testname_offset> <downcase> +# <dc_method> <exp_name> <exp_result> +# +# 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 |