diff options
Diffstat (limited to 'bin/tests/names/dns_name_towire_1_data')
-rw-r--r-- | bin/tests/names/dns_name_towire_1_data | 17 |
1 files changed, 17 insertions, 0 deletions
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 0000000..a45d80a --- /dev/null +++ b/bin/tests/names/dns_name_towire_1_data @@ -0,0 +1,17 @@ +# test data for dns_name_towire_1 +# format: +# <testname> <dc_method> <exp_data> +# <exp_data_len> <exp_result> +# +# where testname is the test name to be converted to wire format +# +# and where dc_method is one of +# DNS_COMPRESS_ALL +# DNS_COMPRESS_GLOBAL14 +# 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 ISC_R_SUCCESS |