cf45f2bdfd
- uncomment procedures for aeadtest, evptest, pq_test, ssltest, testdsa and testrsa - add set_tests_properties() for setting environment variable srcdir - tweak openssl path in ssltest.sh, testdsa.sh, testenc.sh and testrsa.sh
27 lines
510 B
Bash
Executable File
27 lines
510 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
ssltest_bin=./ssltest
|
|
if [ -e ./ssltest.exe ]; then
|
|
ssltest_bin=./ssltest.exe
|
|
fi
|
|
|
|
if [ -d ../apps/openssl ]; then
|
|
openssl_bin=../apps/openssl/openssl
|
|
if [ -e ../apps/openssl/openssl.exe ]; then
|
|
openssl_bin=../apps/openssl/openssl.exe
|
|
fi
|
|
else
|
|
openssl_bin=../apps/openssl
|
|
if [ -e ../apps/openssl.exe ]; then
|
|
openssl_bin=../apps/openssl.exe
|
|
fi
|
|
fi
|
|
|
|
if [ -z $srcdir ]; then
|
|
srcdir=.
|
|
fi
|
|
|
|
$srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem \
|
|
$ssltest_bin $openssl_bin
|