]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
account for error code 1 in certtool.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 10 Nov 2011 21:58:20 +0000 (22:58 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 10 Nov 2011 21:58:20 +0000 (22:58 +0100)
tests/suite/chain

index ca3468ddbf28e16652afebd62092f66ec63f44df..99b62e57278854fcf3aaaa092952795e1036cf75 100755 (executable)
@@ -43,7 +43,7 @@ while test -d X509tests/test$i; do
     find X509tests/test$i -name T*.crt -print0 |sort -r -z|xargs -n1 --null $CERTTOOL --certificate-info --inder --infile >> chains/chain$i.pem 2>/dev/null
     $CERTTOOL -e --infile chains/chain$i.pem > out 2>&1
     rc=$?
-    if test $rc != 0; then
+    if test $rc != 0 -a $rc != 1; then
        echo "Chain $i FATAL failure."
        RET=1
     else