diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2015-06-21 03:00:03 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-06-21 09:37:22 +0200 |
commit | c18819167b0195f363c9750bd48ac4872c4ef77b (patch) | |
tree | 3e43a9736519da0d80c2b05645debe34d1a5122d /tests/suite/testcompat-common | |
parent | 80a60c868a74841866c8d14c84fe65bfb5771215 (diff) | |
download | gnutls-c18819167b0195f363c9750bd48ac4872c4ef77b.tar.gz |
tests: suite: cleanup shell usage
Add quotes for most usages of variables.
Added ${} for variables.
Cleanup indentation to be consistent with other tests.
Fix separate builddir issues.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'tests/suite/testcompat-common')
-rw-r--r-- | tests/suite/testcompat-common | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/tests/suite/testcompat-common b/tests/suite/testcompat-common index 2eda62b26c..b4181e78ed 100644 --- a/tests/suite/testcompat-common +++ b/tests/suite/testcompat-common @@ -1,5 +1,3 @@ -#!/bin/sh - # Copyright (C) 2014 Red Hat, Inc. # All rights reserved. # @@ -29,33 +27,32 @@ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY # WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -DSA_CERT=$srcdir/../dsa/cert.dsa.1024.pem -DSA_KEY=$srcdir/../dsa/dsa.1024.pem - -RSA_CERT=$srcdir/../certs/cert-rsa-2432.pem -RSA_KEY=$srcdir/../certs/rsa-2432.pem +DSA_CERT="${srcdir}/../dsa/cert.dsa.1024.pem" +DSA_KEY="${srcdir}/../dsa/dsa.1024.pem" -CA_CERT=$srcdir/../../doc/credentials/x509/ca.pem -CLI_CERT=$srcdir/../../doc/credentials/x509/clicert.pem -CLI_KEY=$srcdir/../../doc/credentials/x509/clikey.pem +RSA_CERT="${srcdir}/../certs/cert-rsa-2432.pem" +RSA_KEY="${srcdir}/../certs/rsa-2432.pem" -CA_ECC_CERT=$srcdir/../certs/ca-cert-ecc.pem -ECC224_CERT=$srcdir/../certs/cert-ecc.pem -ECC224_KEY=$srcdir/../certs/ecc.pem +CA_CERT="${srcdir}/../../doc/credentials/x509/ca.pem" +CLI_CERT="${srcdir}/../../doc/credentials/x509/clicert.pem" +CLI_KEY="${srcdir}/../../doc/credentials/x509/clikey.pem" -ECC256_CERT=$srcdir/../certs/cert-ecc256.pem -ECC256_KEY=$srcdir/../certs/ecc256.pem +CA_ECC_CERT="${srcdir}/../certs/ca-cert-ecc.pem" +ECC224_CERT="${srcdir}/../certs/cert-ecc.pem" +ECC224_KEY="${srcdir}/../certs/ecc.pem" -ECC521_CERT=$srcdir/../certs/cert-ecc521.pem -ECC521_KEY=$srcdir/../certs/ecc521.pem +ECC256_CERT="${srcdir}/../certs/cert-ecc256.pem" +ECC256_KEY="${srcdir}/../certs/ecc256.pem" -ECC384_CERT=$srcdir/../certs/cert-ecc384.pem -ECC384_KEY=$srcdir/../certs/ecc384.pem +ECC521_CERT="${srcdir}/../certs/cert-ecc521.pem" +ECC521_KEY="${srcdir}/../certs/ecc521.pem" -SERV_CERT=$srcdir/../../doc/credentials/x509/cert-rsa.pem -SERV_KEY=$srcdir/../../doc/credentials/x509/key-rsa.pem -SERV_DSA_CERT=$srcdir/../../doc/credentials/x509/cert-dsa.pem -SERV_DSA_KEY=$srcdir/../../doc/credentials/x509/key-dsa.pem +ECC384_CERT="${srcdir}/../certs/cert-ecc384.pem" +ECC384_KEY="${srcdir}/../certs/ecc384.pem" -SERV_PSK=$srcdir/../../doc/credentials/psk-passwd.txt +SERV_CERT="${srcdir}/../../doc/credentials/x509/cert-rsa.pem" +SERV_KEY="${srcdir}/../../doc/credentials/x509/key-rsa.pem" +SERV_DSA_CERT="${srcdir}/../../doc/credentials/x509/cert-dsa.pem" +SERV_DSA_KEY="${srcdir}/../../doc/credentials/x509/key-dsa.pem" +SERV_PSK="${srcdir}/../../doc/credentials/psk-passwd.txt" |