summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2017-03-13 11:32:07 +0200
committerAlon Bar-Lev <alon.barlev@gmail.com>2017-03-13 11:33:12 +0200
commit319415fee95c7fa13ed9fa4f910f3c0db2529b2a (patch)
treeb47e0e98fbc1863ae95dadf124c57e583a3c6aa5
parentfde400d3c441710a53e649b2cb419e60816dfea3 (diff)
downloadgnutls-319415fee95c7fa13ed9fa4f910f3c0db2529b2a.tar.gz
tests: cert-tests: openpgp-certs: align test redirection
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
-rwxr-xr-xtests/cert-tests/openpgp-certs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/openpgp-certs b/tests/cert-tests/openpgp-certs
index 979f0f5328..b175b92840 100755
--- a/tests/cert-tests/openpgp-certs
+++ b/tests/cert-tests/openpgp-certs
@@ -93,7 +93,7 @@ PID=$!
wait_server ${PID}
# give the server a chance to initialize
-echo | ${VALGRIND} "${CLI}" ${DEBUG} --priority NORMAL:+CTYPE-OPENPGP -p "${PORT}" 127.0.0.1 --pgpkeyring "${srcdir}/data/ca-public.gpg" </dev/null >/dev/null || \
+echo | ${VALGRIND} "${CLI}" ${DEBUG} --priority NORMAL:+CTYPE-OPENPGP -p "${PORT}" 127.0.0.1 --pgpkeyring "${srcdir}/data/ca-public.gpg" </dev/null >/dev/null 2>&1 || \
fail ${PID} "Connection to signed PGP certificate should have succeeded! (error code $?)" $?
${VALGRIND} "${CLI}" ${DEBUG} --priority NORMAL:+CTYPE-OPENPGP -p "${PORT}" 127.0.0.2 --pgpkeyring "${srcdir}/data/ca-public.gpg" </dev/null >/dev/null 2>&1 && \