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)
committerRichard Levitte <levitte@openssl.org>
Fri, 9 Dec 2016 20:17:15 +0000 (21:17 +0100)
commit6c6a2ae6fc964795304bbe7687e42b2b0cdf81b3
tree78d76e4a8fda81de120cd598fedbe5cf5d8adbc4
parentaf5a4b40d72085441803f1114d45d9e99891f8e3
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()

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2027)
test/testlib/OpenSSL/Test.pm