From: Aram Sargsyan Date: Wed, 14 Dec 2022 14:37:06 +0000 (+0000) Subject: Add big SOA serial logging check into the catz system test X-Git-Tag: v9.19.9~76^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de232ab446d3aa3f5b93013c8c7f789cd5ad4013;p=thirdparty%2Fbind9.git Add big SOA serial logging check into the catz system test Check that the SOA serial numbers printed when updating a catalog zone is represented correctly for numbers bigger than 2^31. --- diff --git a/bin/tests/system/catz/ns3/catalog.example.db.in b/bin/tests/system/catz/ns3/catalog.example.db.in index a0bab0dfe28..eccb4f1004a 100644 --- a/bin/tests/system/catz/ns3/catalog.example.db.in +++ b/bin/tests/system/catz/ns3/catalog.example.db.in @@ -9,6 +9,6 @@ ; See the COPYRIGHT file distributed with this work for additional ; information regarding copyright ownership. -@ 3600 SOA . . 1 86400 3600 86400 3600 +@ 3600 SOA . . 2670950424 86400 3600 86400 3600 @ 3600 IN NS invalid. version IN TXT "1" diff --git a/bin/tests/system/catz/tests.sh b/bin/tests/system/catz/tests.sh index ee95d2e1248..09c7ba5d046 100644 --- a/bin/tests/system/catz/tests.sh +++ b/bin/tests/system/catz/tests.sh @@ -382,6 +382,7 @@ status=$((status+ret)) n=$((n+1)) echo_i "waiting for secondary to sync up ($n)" ret=0 +wait_for_message ns2/named.run "catz: updating catalog zone 'catalog2.example' with serial 2670950425" && wait_for_message ns2/named.run "catz: adding zone 'dom2.example' from catalog 'catalog1.example'" && wait_for_message ns2/named.run "catz: adding zone 'dom3.example' from catalog 'catalog1.example'" && wait_for_message ns2/named.run "catz: adding zone 'dom4.example' from catalog 'catalog2.example'" &&