diff options
author | Simon Josefsson <simon@josefsson.org> | 2011-11-29 10:38:36 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2011-11-29 10:38:36 +0100 |
commit | 993e2c5595c102183280835d5e45cea45e25f2cf (patch) | |
tree | 9ebf2c149bac80936f16b9abaa52627179cf9579 /tests | |
parent | 5cbd39faca0e1d1c40d69eda063d3002bad58f64 (diff) | |
download | gnutls-993e2c5595c102183280835d5e45cea45e25f2cf.tar.gz |
Fix syntax-check nits.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/suite/chain | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/suite/chain b/tests/suite/chain index 99b62e5727..26a53ba8b4 100755 --- a/tests/suite/chain +++ b/tests/suite/chain @@ -1,7 +1,6 @@ #!/bin/sh -# Copyright (C) 2004, 2005, 2007, 2009, 2010 Free Software Foundation, -# Inc. +# Copyright (C) 2004-2011 Free Software Foundation, Inc. # # Author: Simon Josefsson # @@ -43,7 +42,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 -a $rc != 1; then + if test $rc != 0 && test $rc != 1; then echo "Chain $i FATAL failure." RET=1 else |