None of our tests use it, plus it's inconsistently handled - plain
comparison honours it, regex comparison does not.
In addition, on test failure the expected/actual values are always
printed. So we're not missing anything (too) critical here.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
fd_cmp->buf[r] = '\0';
fd_cmp->buf_match[r] = '\0';
- if (t->print_outputs)
- printf("%s: %s\n", fd_cmp->name, fd_cmp->buf);
-
if (!streq(fd_cmp->buf, fd_cmp->buf_match)) {
ERR("Outputs do not match on %s:\n", fd_cmp->name);
ERR("correct:\n%s\n", fd_cmp->buf_match);
bool expected_fail;
/* allow to skip tests that don't meet compile-time dependencies */
bool skip;
- bool print_outputs;
} __attribute__((aligned(8)));
int test_init(const struct test *start, const struct test *stop, int argc,