X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftreq;h=77f37dcf3a9a54037a7114ee5951d53f4ca7dd4a;hp=e5f1d8cc41fdc56f8eee25e267be3c460a9eb933;hb=d5dfa7cd82804eec165569deeb4181d60c08b0f6;hpb=7dfb0b774e6592dcbfe47015168a0ac8b44e2a17 diff --git a/test/treq b/test/treq index e5f1d8cc41..77f37dcf3a 100644 --- a/test/treq +++ b/test/treq @@ -1,9 +1,6 @@ #!/bin/sh -PATH=../apps:$PATH -export PATH - -cmd='../apps/ssleay req' +cmd='../util/shlib_wrap.sh ../apps/openssl req -config ../apps/openssl.cnf' if [ "$1"x != "x" ]; then t=$1 @@ -11,6 +8,11 @@ else t=testreq.pem fi +if $cmd -in $t -inform p -noout -text 2>&1 | fgrep -i 'Unknown Public Key'; then + echo "skipping req conversion test for $t" + exit 0 +fi + echo testing req conversions cp $t fff.p