Update test OCSP script "tocsp" to use shell functions and to use
[openssl.git] / test / treq
index 2f20e640cf02eb19b929d4bd12bb9952bc770aba..77f37dcf3a9a54037a7114ee5951d53f4ca7dd4a 100644 (file)
--- a/test/treq
+++ b/test/treq
@@ -8,7 +8,7 @@ else
        t=testreq.pem
 fi
 
-if $cmd -in $t -inform p -noout -text | fgrep 'Unknown Public Key'; then
+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