]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: cert-tests: openpgp-certs: align test redirection
authorAlon Bar-Lev <alon.barlev@gmail.com>
Mon, 13 Mar 2017 09:32:07 +0000 (11:32 +0200)
committerAlon Bar-Lev <alon.barlev@gmail.com>
Mon, 13 Mar 2017 09:33:12 +0000 (11:33 +0200)
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
tests/cert-tests/openpgp-certs

index 979f0f5328a61bf6e4caa8d9ad63a1e317f99d1b..b175b92840ed3280d6b9f9fc6950a4e159d0f8c2 100755 (executable)
@@ -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 && \