提交 1bee9d6b 编写于 作者: R Richard Levitte 提交者: Rich Salz

Fix ct_test to not assume it's in the source directory

ct_test assumed it's run in the source directory and failed when built
elsewhere.  It still defaults to that, but can be told another story
with the environment variables CT_DIR and CERTS_DIR.

Test recipe updated to match.
Reviewed-by: NMatt Caswell <matt@openssl.org>
Reviewed-by: NEmilia Käsper <emilia@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 9ddff1e8
...@@ -8,4 +8,3 @@ $ENV{CTLOG_FILE} = srctop_file("test", "ct", "log_list.conf"); ...@@ -8,4 +8,3 @@ $ENV{CTLOG_FILE} = srctop_file("test", "ct", "log_list.conf");
$ENV{CT_DIR} = srctop_file("test", "ct"); $ENV{CT_DIR} = srctop_file("test", "ct");
$ENV{CERTS_DIR} = srctop_file("test", "certs"); $ENV{CERTS_DIR} = srctop_file("test", "certs");
simple_test("test_ct", "ct_test", "ct", "ec"); simple_test("test_ct", "ct_test", "ct", "ec");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册