mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
been having trouble with the FreeeBSD system - wait, waitpid and family
act totally broken, but only for programs run from cron. the waitpid loop in t_api.c times out eventually, and the testcases are killed and reaped, but the net effect of the problem is to cause each testcase to take 60 seconds, which is the default timeout. As a result, the tests take forever to run and often don't finish before the report generator is run, causing the report generator to incorrectly reports an overall test status based on an incomplete journal ... so ... I've added some more simplistic journal correctness checking for now so that the FreeBSD test status is correctly reported - if a journal doesn't end with the correct end stanza, a test result of inspect(incomplete journal) is reported. obviously, at some point in the future, a test case count needs added so that the report generator can do more complete correctness checking of the journal.
This commit is contained in:
parent
b3539cf94a
commit
bf04258ed1
1 changed files with 5 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ sub testCheck {
|
|||
next;
|
||||
}
|
||||
|
||||
if (/^E:(Mon|Tue|Wed|Thu|Fri|Sat|Sun)/) {
|
||||
if (/^E:[^:]*:(Mon|Tue|Wed|Thu|Fri|Sat|Sun)/) {
|
||||
if ($inresult == 0) {
|
||||
# no reported result
|
||||
$BadTest = 1;
|
||||
|
|
@ -464,6 +464,10 @@ sub testCheck {
|
|||
$BadTest = 1;
|
||||
$BadTestReason = "no tests";
|
||||
}
|
||||
if ($intest) {
|
||||
$BadTest = 1;
|
||||
$BadTestReason = "incomplete";
|
||||
}
|
||||
return(%probs);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue