diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-02-11 20:37:59 +0100 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-02-11 20:37:59 +0100 |
commit | f50ae72ec3417cae55dd4e085991c01af9fdc5f1 (patch) | |
tree | 0e36c9a3320f6d068df93d3ff6d84b821d23db40 /bin/tests/names/dns_name_fromwire_5_data | |
download | bind_dynamic-f50ae72ec3417cae55dd4e085991c01af9fdc5f1.tar.gz bind_dynamic-f50ae72ec3417cae55dd4e085991c01af9fdc5f1.tar.xz bind_dynamic-f50ae72ec3417cae55dd4e085991c01af9fdc5f1.zip |
Initial commitstart
Diffstat (limited to 'bin/tests/names/dns_name_fromwire_5_data')
-rw-r--r-- | bin/tests/names/dns_name_fromwire_5_data | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bin/tests/names/dns_name_fromwire_5_data b/bin/tests/names/dns_name_fromwire_5_data new file mode 100644 index 0000000..1a4221b --- /dev/null +++ b/bin/tests/names/dns_name_fromwire_5_data @@ -0,0 +1,30 @@ +# +# test data for dns_name_fromwire_5 +# 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_test5.data 25 1 DNS_COMPRESS_NONE vix.com. DNS_R_DISALLOWED |