summaryrefslogtreecommitdiff
path: root/tests/gnutls-cli-resume.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnutls-cli-resume.sh')
-rwxr-xr-xtests/gnutls-cli-resume.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gnutls-cli-resume.sh b/tests/gnutls-cli-resume.sh
index 38ac076efa..bd33ff01d2 100755
--- a/tests/gnutls-cli-resume.sh
+++ b/tests/gnutls-cli-resume.sh
@@ -20,9 +20,9 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>
#
-srcdir="${srcdir:-.}"
-SERV="${SERV:-../src/gnutls-serv${EXEEXT}}"
-CLI="${CLI:-../src/gnutls-cli${EXEEXT}}"
+: ${srcdir=.}
+: ${SERV=../src/gnutls-serv${EXEEXT}}
+: ${CLI=../src/gnutls-cli${EXEEXT}}
unset RETCODE
if ! test -x "${SERV}"; then
@@ -45,7 +45,7 @@ KEY1=${srcdir}/../doc/credentials/x509/key-rsa.pem
CERT1=${srcdir}/../doc/credentials/x509/cert-rsa.pem
eval "${GETPORT}"
-launch_server $$ --echo --x509keyfile ${KEY1} --x509certfile ${CERT1}
+launch_server --echo --x509keyfile ${KEY1} --x509certfile ${CERT1}
PID=$!
wait_server ${PID}