bind9/bin/tests/system/masterformat
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
..
ns1 Reformat shell scripts with shfmt 2023-10-26 13:24:51 +02:00
ns2 Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
ns3 Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
clean.sh Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
setup.sh Reformat shell scripts with shfmt 2023-10-26 13:24:51 +02:00
tests.sh Fix map offsets in the "masterformat" system test 2024-01-05 12:40:50 +01:00