• JINMEI Tatuya's avatar
    [2480] unified test data. · 5deb6bbc
    JINMEI Tatuya authored
    the previously hardcoded zone data are mostly moved to two new files:
    query_testzone_data.txt and query_testzone_data_nsec3.txt.
    
    A new helper python script, gen-query-testdata.py, converts them into
    DNS zone files and C++ files defining some C-string variables for the RRs.
    The latter will be included from query_unittest.cc (instead of the hardcoded
    variables).
    
    Generated zone files are loaded via include-only zone files: example.zone
    and example-nsec3.zone.
    
    For the next step corresponding sqlite3 DB file is also generated.
    5deb6bbc
.gitignore 334 Bytes