static char *skip_test(const char *testname, void *unused)
{
- btree_insert(cmdline_exclude, optarg);
+ btree_insert(cmdline_exclude, testname);
return NULL;
}
test = find_test(target);
if (!test)
- err(1, "Unknown test to run '%s'", target);
+ errx(1, "Unknown test to run '%s'", target);
skip_unrelated_tests(test);
}