Handle example3.db being modified in upforwd system test

The zone file for example3 (ns1/example3.db) can be modified in the
upforwd test as example3 is updated as part of the test.  Whether
the zone is written out or not by the end of the test is timing
dependent.  Rename ns1/example3.db to ns1/example3.db.in and copy
it to ns1/example3.db in setup so we don't trigger post test changes
checks.
This commit is contained in:
Mark Andrews 2025-02-25 12:28:58 +11:00
parent 02ef8ff01c
commit afc4413862
3 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@
. ../conf.sh
cp -f ns1/example1.db ns1/example.db
cp -f ns1/example3.db.in ns1/example3.db
cp -f ns3/noprimary.db ns3/noprimary1.db
copy_setports ns1/named.conf.in ns1/named.conf

View file

@ -26,6 +26,7 @@ pytestmark = pytest.mark.extra_artifacts(
"ns1/example.db",
"ns1/example2-toomanykeys.db",
"ns1/example2.db",
"ns1/example3.db",
"ns3/dnstap.conf",
"ns3/dnstap.out",
"ns3/noprimary1.db",