X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftesttsa;h=bb653b5f73d6f5761ab564e02ddc035bd4cecb01;hp=746aa258d6ab360cc37e62758bf9d97592498899;hb=6f71e5ee6af9db9c565456018ff6af81560bb98a;hpb=dc24110311b9bfc07b2699ae365e7a3820621655 diff --git a/test/testtsa b/test/testtsa index 746aa258d6..bb653b5f73 100644 --- a/test/testtsa +++ b/test/testtsa @@ -5,18 +5,25 @@ # SH="/bin/sh" -PATH=../../apps:$PATH +if test "$OSTYPE" = msdosdjgpp; then + PATH="../apps\;$PATH" +else + PATH="../apps:$PATH" +fi export SH PATH OPENSSL_CONF="../CAtsa.cnf" export OPENSSL_CONF +# Because that's what ../apps/CA.sh really looks at +SSLEAY_CONFIG="-config $OPENSSL_CONF" +export SSLEAY_CONFIG -OPENSSL="../util/opensslwrap.sh" +OPENSSL="`pwd`/../util/opensslwrap.sh" export OPENSSL error () { - echo "ERROR DURING TSA TESTS!!!!!!!!!!!!!!!!" >&2 + echo "TSA test failed!" >&2 exit 1 } @@ -36,36 +43,29 @@ clean_up_dir () { create_ca () { echo "Creating a new CA for the TSA tests..." - /bin/rm -fr demoCA - $SH ../../apps/CA.sh -newca <