bind9/bin/tests
Michał Kępień 1237d73cd1
Fix map offsets in the "masterformat" system test
The "masterformat" system test attempts to check named-checkzone
behavior when it is fed corrupt map-format zone files.  However, despite
the RBTDB and RBT structures having evolved over the years, the offsets
at which a valid map-format zone file is malformed by the "masterformat"
test have not been updated accordingly, causing the relevant checks to
introduce a different type of corruption than they were originally meant
to cause:

  - the "bad node header" check originally mangled the 'type' member of
    the rdatasetheader_t structure for cname.example.nil,

  - the "bad node data" check originally mangled the 'serial' and
    'rdh_ttl' members of the rdatasetheader_t structure for
    aaaa.example.nil.

Update the offsets at which the map-format zone file is malformed at by
the "masterformat" system test so that the relevant checks fulfill their
original purpose again.
2024-01-05 12:40:50 +01:00
..
bigtest Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
optional Update sources to Clang 16 formatting 2023-05-11 14:26:14 +02:00
pkcs11 Add couple missing braces around single-line statements 2022-03-17 18:31:36 +01:00
startperf Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
system Fix map offsets in the "masterformat" system test 2024-01-05 12:40:50 +01:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
win32 Add libssl libraries to Windows build 2020-12-09 10:46:16 +01:00
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
cfg_test.c Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
headerdep_test.sh.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
makejournal.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named.conf Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
prepare-softhsm2.sh Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
wire_test.c Adjust message buffer sizes in test code 2023-12-06 09:06:31 +11:00