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)
committerRichard Levitte <levitte@openssl.org>
Wed, 9 Mar 2016 16:13:23 +0000 (17:13 +0100)
commitc469a9a81e0126f690fde791f616ced113a6ca86
treefbc956624b642598f02b9b49a0342955b0699101
parent9b13e27c28364b6c0f18bd6674c4c9d2a5e2dea0
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>
test/ct_test.c
test/recipes/80-test_ct.t