Commit f9ac4f56 authored by Niklas Claesson's avatar Niklas Claesson Committed by Rusty Russell

configurator: always true branch

parent c16c0217
......@@ -765,9 +765,7 @@ static bool run_test(const char *cmd, const char *wrapper, struct test *test)
strcpy(cmd, wrapper);
strcat(cmd, " ." DIR_SEP OUTPUT_FILE);
output = run(cmd, &status);
if (wrapper) {
free(cmd);
}
free(cmd);
if (!strstr(test->style, "EXECUTE") && status != 0)
c12r_errx(EXIT_BAD_TEST,
"Test for %s failed with %i:\n%s",
......
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