From: Simon Josefsson Date: Tue, 6 Jan 2009 23:43:19 +0000 (+0100) Subject: Fix self-test with new certtool --verify-chain output. X-Git-Tag: gnutls_2_7_4~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86637419b06daecc6c29a975e62586a9e628c1a1;p=thirdparty%2Fgnutls.git Fix self-test with new certtool --verify-chain output. --- diff --git a/tests/sha2/sha2 b/tests/sha2/sha2 index 6ac693f6f7..49f951e009 100755 --- a/tests/sha2/sha2 +++ b/tests/sha2/sha2 @@ -66,7 +66,7 @@ $CERTTOOL --generate-certificate --template template \ num=`cat new-user.pem new-subsubca.pem new-subca.pem new-ca.pem | $CERTTOOL --verify-chain | tee verify | grep -c Verified` cat verify -if test "$num" != "4"; then +if test "$num" != "5"; then echo Verification failure exit 1 else