From 1b62d5e416a0b47ba89653b2683bf51bdcff527e Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 27 Jul 2014 06:13:54 -0500 Subject: remove bash-isms from test scripts --- tests/pidwraptest.sh | 4 ++-- tests/ssltest.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/pidwraptest.sh b/tests/pidwraptest.sh index 74fd46e..04fb5c4 100755 --- a/tests/pidwraptest.sh +++ b/tests/pidwraptest.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/bin/sh ./pidwraptest > pidwraptest.txt -while read -r a b; +while read a b; do if [ "$a" = "$b" ]; then echo "FAIL: $a = $b" diff --git a/tests/ssltest.sh b/tests/ssltest.sh index 89863ea..476a258 100755 --- a/tests/ssltest.sh +++ b/tests/ssltest.sh @@ -1,4 +1,5 @@ #!/bin/sh set -e -export PATH=../apps:$PATH +PATH=../apps:$PATH +export PATH $srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem -- cgit v1.2.3-55-g6feb