Shut whiny make's up.
[openssl.git] / test / treq
index e5f1d8cc41fdc56f8eee25e267be3c460a9eb933..2f20e640cf02eb19b929d4bd12bb9952bc770aba 100644 (file)
--- 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 | fgrep 'Unknown Public Key'; then
+  echo "skipping req conversion test for $t"
+  exit 0
+fi
+
 echo testing req conversions
 cp $t fff.p