summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-10 22:58:20 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-10 22:58:20 +0100
commitf2302e7902a5bf93b6f8c4d45bd1f116fac6594b (patch)
treec091d541511ec31eceb0925e3129eb55a47d11f7 /tests
parentedf0dd60490a40cc2335cfaf18cc86258a25ea13 (diff)
downloadgnutls-f2302e7902a5bf93b6f8c4d45bd1f116fac6594b.tar.gz
account for error code 1 in certtool.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/suite/chain2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/suite/chain b/tests/suite/chain
index ca3468ddbf..99b62e5727 100755
--- a/tests/suite/chain
+++ b/tests/suite/chain
@@ -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