summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-09-21 12:51:24 +0000
committerSimon Josefsson <simon@josefsson.org>2006-09-21 12:51:24 +0000
commita7623c5f61d1a19fe98794213216de112607642e (patch)
tree9092900da87277d9b03919262e23f28942ec8226
parent9a864df94dfefb951c5d6a3a139cccd136ed4295 (diff)
downloadgnutls-a7623c5f61d1a19fe98794213216de112607642e.tar.gz
Simplify grep expression, to work around debug messages from wine.
-rwxr-xr-xtests/pkcs1-pad20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/pkcs1-pad b/tests/pkcs1-pad
index fb09f8fe5a..7043ef6818 100755
--- a/tests/pkcs1-pad
+++ b/tests/pkcs1-pad
@@ -30,10 +30,10 @@ EXPECT1=2101
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-ok.pem | tee out1
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken.pem | tee out2
-out1oks=`grep 'Verification output: Verified.' out1 | wc -l`
-out2oks=`grep 'Verification output: Verified.' out2 | wc -l`
-out1fails=`grep 'Verification output: Not verified.' out1 | wc -l`
-out2fails=`grep 'Verification output: Not verified.' out2 | wc -l`
+out1oks=`grep 'Verified.' out1 | wc -l`
+out2oks=`grep 'Verified.' out2 | wc -l`
+out1fails=`grep 'Not verified.' out1 | wc -l`
+out2fails=`grep 'Not verified.' out2 | wc -l`
rm -f out1 out2
@@ -54,10 +54,10 @@ EXPECT2=1001
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-ok2.pem | tee out1
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken2.pem | tee out2
-out1oks=`grep 'Verification output: Verified.' out1 | wc -l`
-out2oks=`grep 'Verification output: Verified.' out2 | wc -l`
-out1fails=`grep 'Verification output: Not verified.' out1 | wc -l`
-out2fails=`grep 'Verification output: Not verified.' out2 | wc -l`
+out1oks=`grep 'Verified.' out1 | wc -l`
+out2oks=`grep 'Verified.' out2 | wc -l`
+out1fails=`grep 'Not verified.' out1 | wc -l`
+out2fails=`grep 'Not verified.' out2 | wc -l`
rm -f out1 out2
@@ -78,8 +78,8 @@ EXPECT3=11
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken3.pem | tee out1
-out1oks=`grep 'Verification output: Verified.' out1 | wc -l`
-out1fails=`grep 'Verification output: Not verified.' out1 | wc -l`
+out1oks=`grep 'Verified.' out1 | wc -l`
+out1fails=`grep 'Not verified.' out1 | wc -l`
rm -f out1