]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add big SOA serial logging check into the catz system test
authorAram Sargsyan <aram@isc.org>
Wed, 14 Dec 2022 14:37:06 +0000 (14:37 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 15 Dec 2022 13:24:58 +0000 (13:24 +0000)
Check that the SOA serial numbers printed when updating a catalog zone
is represented correctly for numbers bigger than 2^31.

bin/tests/system/catz/ns3/catalog.example.db.in
bin/tests/system/catz/tests.sh

index a0bab0dfe284a2d8b8722f452b94a8cd0a6f6df0..eccb4f1004add9d6a0b50fa51996ca80e15863f2 100644 (file)
@@ -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"
index ee95d2e124822309628833c3118f46b401a70d10..09c7ba5d046cb0d9f978812bf331e3da7bc30db3 100644 (file)
@@ -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'" &&