mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-24 18:30:38 -05:00
data for dns_name_towire test
This commit is contained in:
parent
283a214825
commit
2d4e681f8d
2 changed files with 40 additions and 0 deletions
20
bin/tests/names/dns_name_towire_1_data
Normal file
20
bin/tests/names/dns_name_towire_1_data
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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_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
|
||||
20
bin/tests/names/dns_name_towire_2_data
Normal file
20
bin/tests/names/dns_name_towire_2_data
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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_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
|
||||
Loading…
Reference in a new issue