Clean leftover files in autosign and masterformat

The following files were reported in CI by the legacy system test runner
and prevented job to pass. They should be removed.

    $ if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" *.log ); fi
    autosign.log:I:autosign:file autosign/ns3/kskonly.example.db.jbk not removed
    autosign.log:I:autosign:file autosign/ns3/optout.example.db.jbk not removed
    autosign.log:I:autosign:file autosign/ns3/reconf.example.db.jbk not removed
    masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.jbk not removed
    masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.signed not removed
    masterformat.log:I:masterformat:file masterformat/ns1/signed.db.raw.signed.jnl not removed

Don't print an error when the ns*/inactive directory is not
present:

    rmdir: ns*/inactive: No such file or directory

Remove nsupdate.out.test file instead of nsupdate.out, as the latter
does not exist.
This commit is contained in:
Michal Nowak
2023-08-03 10:44:09 +02:00
parent 2c51e936e4
commit 8a0da13479
2 changed files with 6 additions and 3 deletions

View File

@@ -17,6 +17,9 @@ rm -f ./ns1/example.db.serial.raw
rm -f ./ns1/large.db ./ns1/large.db.raw
rm -f ./ns1/signed.db.raw
rm -f ./ns1/session.key
rm -f ./ns1/signed.db.raw.jbk
rm -f ./ns1/signed.db.raw.signed
rm -f ./ns1/signed.db.raw.signed.jnl
rm -f ./dig.out.*
rm -f ./dig.out
rm -f ./*/named.memstats