summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs7
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/pkcs7')
-rwxr-xr-xtests/cert-tests/pkcs72
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/pkcs7 b/tests/cert-tests/pkcs7
index bfe11290fc..eed9f068a2 100755
--- a/tests/cert-tests/pkcs7
+++ b/tests/cert-tests/pkcs7
@@ -72,7 +72,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 pkcs7 info failed 2"
exit 1
fi