提交 6906a7c1 编写于 作者: D Dr. Stephen Henson

Return error code is any tests fail.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 774ccae6
......@@ -374,6 +374,8 @@ int main(int argc, char **argv)
fprintf(stderr, "%d tests completed with %d errors\n",
t.ntests, t.errors);
fclose(in);
if (t.errors)
return 1;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册