Fix ct_test to not assume it's in the source directory
authorRichard Levitte <levitte@openssl.org>
Wed, 9 Mar 2016 13:10:05 +0000 (14:10 +0100)
committerRich Salz <rsalz@openssl.org>
Wed, 9 Mar 2016 16:35:18 +0000 (11:35 -0500)
commit1bee9d6b6c3bf9519bf46fd1a67d5f07eb2c9cb3
tree7386afd6d11e6e5fcbe92568488dcb27de98037e
parent9ddff1e83c4240b52c0e920f0372d3fb972362c2
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: Matt Caswell <matt@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/80-test_ct.t