Only print individual check status when there is a failure.
This commit is contained in:
@@ -72,9 +72,11 @@ check_addr(char *input)
|
|||||||
input[len] = '\0';
|
input[len] = '\0';
|
||||||
|
|
||||||
matched = addr_matches(input);
|
matched = addr_matches(input);
|
||||||
warningx("%s %smatched (%s)", input, matched ? "" : "not ",
|
if (matched != expected) {
|
||||||
matched == expected ? "OK" : "FAIL");
|
warningx("%s %smatched: FAIL", input, matched ? "" : "not ");
|
||||||
return (matched != expected);
|
return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user