Commit b4fce772 authored by Walid Boudebouda's avatar Walid Boudebouda

vav_test: Return non-zero when a test fails

Currently, vav_test always passes make check
parent 34c87dd2
......@@ -482,6 +482,8 @@ main(int argc, char **argv)
for (tc = tests; ret == 0 && *tc != NULL; tc++) {
argv = test_run(*tc, &ret);
VAV_Free(argv);
if (ret)
return (1);
}
return (0);
......
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