]> git.ipfire.org Git - thirdparty/bind9.git/commit
Always fail a system test if crashes are detected
authorMichał Kępień <michal@isc.org>
Tue, 18 Jun 2019 07:14:07 +0000 (09:14 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 18 Jun 2019 07:18:41 +0000 (09:18 +0200)
commit931357d8015d8a3ef703dae2d4053284f943af9b
tree3caaf6ff27232d18690a660ebfff28802af9998a
parent14d4968f780fb8fc0ff3781dccd0fffa5a65824b
Always fail a system test if crashes are detected

In certain situations (e.g. a named instance crashing upon shutdown in a
system test which involves shutting down a server and restarting it
afterwards), a system test may succeed despite a named crash being
triggered.  This must never be the case.  Extend run.sh to mark a test
as failed if core dumps or log lines indicating assertion failures are
detected (the latter is only an extra measure aimed at test environments
in which core dumps are not generated; note that some types of crashes,
e.g. segmentation faults, will not be detected using this method alone).

(cherry picked from commit 7706f22924dac215e22d4be4322f89814041a3a8)
bin/tests/system/run.sh