summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs12
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/pkcs12')
-rwxr-xr-xtests/cert-tests/pkcs122
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/pkcs12 b/tests/cert-tests/pkcs12
index d05389d10f..f28230a7b2 100755
--- a/tests/cert-tests/pkcs12
+++ b/tests/cert-tests/pkcs12
@@ -88,7 +88,7 @@ if test "${rc}" != "0"; then
exit ${rc}
fi
-if grep -v '^-----BEGIN [A-Z0-9 ]\+-----$\|^[A-Za-z0-9/+=]\+$\|^-----END [A-Z0-9 ]\+-----$' ${TMPFILE} ; then
+if grep -v '^-----BEGIN [A-Z0-9 ]\+-----$' ${TMPFILE} | grep -v '^[A-Za-z0-9/+=]\+$' | grep -v '^-----END [A-Z0-9 ]\+-----$' ; then
echo "--no-text pkcs12 info failed 2"
exit 1
fi