X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftesttsa;h=bb653b5f73d6f5761ab564e02ddc035bd4cecb01;hp=1ba5ff8a78fd7be0b3ac3215aa9d6f2cdc4da38b;hb=6cc0068430d0a4abdef0b466d422e6a4d154a5fe;hpb=9eb8794149837dc5c84182358f2dde5ed2856f5d diff --git a/test/testtsa b/test/testtsa index 1ba5ff8a78..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="`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 <