Commit a0bef23e authored by Mark Andrews's avatar Mark Andrews

dnswkk should be tested by default

parent ef1bb160
Pipeline #4864 passed with stages
in 1 minute and 10 seconds
...@@ -881,7 +881,7 @@ printandfree(struct summary *summary) { ...@@ -881,7 +881,7 @@ printandfree(struct summary *summary) {
printf(" all ok"); printf(" all ok");
else else
for (i = 0; i < sizeof(opts)/sizeof(opts[0]); i++) { for (i = 0; i < sizeof(opts)/sizeof(opts[0]); i++) {
if (opts[i].what != 0 && (opts[i].what & what) == 0) if ((opts[i].what & what) == 0)
continue; continue;
if (summary->results[i][0] == 0) if (summary->results[i][0] == 0)
strncpy(summary->results[i], "skipped", 100); strncpy(summary->results[i], "skipped", 100);
...@@ -927,8 +927,7 @@ report(struct summary *summary) { ...@@ -927,8 +927,7 @@ report(struct summary *summary) {
summary->last < sizeof(opts)/sizeof(opts[0]); summary->last < sizeof(opts)/sizeof(opts[0]);
summary->last++) { summary->last++) {
struct workitem *item; struct workitem *item;
if (opts[summary->last].what != 0 && if ((opts[summary->last].what & what) == 0)
(opts[summary->last].what & what) == 0)
continue; continue;
item = calloc(1, sizeof(*item)); item = calloc(1, sizeof(*item));
if (item == NULL) if (item == NULL)
...@@ -1440,7 +1439,7 @@ check(char *zone, char *ns, char *address, struct summary *parent) { ...@@ -1440,7 +1439,7 @@ check(char *zone, char *ns, char *address, struct summary *parent) {
for (i = 0; i < sizeof(opts)/sizeof(opts[0]); i++) { for (i = 0; i < sizeof(opts)/sizeof(opts[0]); i++) {
struct workitem *item; struct workitem *item;
if (opts[i].what != 0 && (opts[i].what & what) == 0) if ((opts[i].what & what) == 0)
continue; continue;
item = calloc(1, sizeof(*item)); item = calloc(1, sizeof(*item));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment