Test framework: Add the possibility to have a test specific data dir
authorRichard Levitte <levitte@openssl.org>
Mon, 5 Dec 2016 14:13:26 +0000 (15:13 +0100)
committerRich Salz <rsalz@openssl.org>
Wed, 1 Mar 2017 01:26:08 +0000 (20:26 -0500)
commit1bc45dd2cc8b4e18d8fc530f68c8949fab335643
tree6a527c310a7aa436e512cef3f4a61ed055a6e744
parent0adaabf6cd9ef104468edd353d721cd2d7afca5e
Test framework: Add the possibility to have a test specific data dir

This data directory is formed automatically by taking the recipe name
and changing '.t' to '_data'.  Files in there can be reached with the
new function data_file()

(Merged from https://github.com/openssl/openssl/pull/2027)
(cherry picked from commit 6c6a2ae6fc964795304bbe7687e42b2b0cdf81b3)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2802)
test/testlib/OpenSSL/Test.pm