add some diagnostic logging to test-harness tests to capture expected vs observed add/remove/change values
This commit is contained in:
parent
01ee6bcd85
commit
f5f9f4e1a7
|
@ -50,8 +50,8 @@ BEGIN {
|
||||||
LATEPROMPTING => 'false',
|
LATEPROMPTING => 'false',
|
||||||
LOOSEDIRECTORYCHECKING => 'false',
|
LOOSEDIRECTORYCHECKING => 'false',
|
||||||
MAILNOVIOLATIONS => 'true',
|
MAILNOVIOLATIONS => 'true',
|
||||||
EMAILREPORTLEVEL => '3',
|
EMAILREPORTLEVEL => '4',
|
||||||
REPORTLEVEL => '3',
|
REPORTLEVEL => '4',
|
||||||
MAILMETHOD => 'SENDMAIL',
|
MAILMETHOD => 'SENDMAIL',
|
||||||
SYSLOGREPORTING => 'true',
|
SYSLOGREPORTING => 'true',
|
||||||
MAILPROGRAM => 'cat',
|
MAILPROGRAM => 'cat',
|
||||||
|
@ -751,6 +751,12 @@ sub RunIntegrityTests(\%) {
|
||||||
my @twresults = RunReport( { dir => "this"} );
|
my @twresults = RunReport( { dir => "this"} );
|
||||||
my ($actualViolations, $actualAdded, $actualRemoved, $actualChanged) = AnalyzeReport(@twresults);
|
my ($actualViolations, $actualAdded, $actualRemoved, $actualChanged) = AnalyzeReport(@twresults);
|
||||||
|
|
||||||
|
logStatus("Total expected: $violations | Total observed: $actualViolations\n");
|
||||||
|
logStatus("Expected added: $added | Observed added: $actualAdded\n");
|
||||||
|
logStatus("Expected removed: $removed | Observed removed: $actualRemoved\n");
|
||||||
|
logStatus("Expected changed: $changed | Observed changed: $actualChanged\n");
|
||||||
|
|
||||||
|
|
||||||
# Actual and expected violations should match if everything went as
|
# Actual and expected violations should match if everything went as
|
||||||
# planned.
|
# planned.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue