X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftesttsa;h=df9abedff9a7e1d25700354e3f447292bede1223;hp=c532ac530d924cbe325e5293347d2741231d6cfe;hb=f20bb4eb18b01979cb23b2ae4a60675c83c4ba91;hpb=d505d1ef4a6f631940a0c37c22c5e0ced03d7dda diff --git a/test/testtsa b/test/testtsa index c532ac530d..df9abedff9 100644 --- a/test/testtsa +++ b/test/testtsa @@ -5,71 +5,56 @@ # 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="$OPENSSL_CONF" +# Because that's what ../apps/CA.pl really looks at +SSLEAY_CONFIG="-config $OPENSSL_CONF" export SSLEAY_CONFIG OPENSSL="`pwd`/../util/opensslwrap.sh" export OPENSSL -error () { - - echo "TSA test failed!" >&2 - exit 1 -} - setup_dir () { - rm -rf tsa 2>/dev/null mkdir tsa cd ./tsa } clean_up_dir () { - cd .. rm -rf tsa } create_ca () { - - echo "Creating a new CA for the TSA tests..." - /bin/rm -fr demoCA - $SH ../../apps/CA.sh -newca <