summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 13:20:16 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 13:20:16 +0100
commit5f87433d51b2bb5246be4195fe03c1cacef5042b (patch)
treef3faebb874efd58866ce9bac4e34c44fd62da2fd
parent3416b5ea36343611fd23cf2dc2fd028448952dce (diff)
downloadgnutls-5f87433d51b2bb5246be4195fe03c1cacef5042b.tar.gz
tests: illegal-rsa: don't hide stderr
-rwxr-xr-xtests/key-tests/illegal-rsa4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/key-tests/illegal-rsa b/tests/key-tests/illegal-rsa
index 6e7aeb80aa..aacd97e306 100755
--- a/tests/key-tests/illegal-rsa
+++ b/tests/key-tests/illegal-rsa
@@ -28,7 +28,7 @@ if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=1"
fi
-${VALGRIND} "${CERTTOOL}" -k --password 1234 --infile "${srcdir}/data/p8key-illegal.pem" 2>/dev/null
+${VALGRIND} "${CERTTOOL}" -k --password 1234 --infile "${srcdir}/data/p8key-illegal.pem"
rc=$?
# We're done.
if test "${rc}" != "1"; then
@@ -37,7 +37,7 @@ if test "${rc}" != "1"; then
fi
#check invalid RSA pem key. The key has even prime factor.
-${VALGRIND} "${CERTTOOL}" -k --infile "${srcdir}/data/key-illegal.pem" 2>/dev/null
+${VALGRIND} "${CERTTOOL}" -k --infile "${srcdir}/data/key-illegal.pem"
rc=$?
# We're done.
if test "${rc}" != "1"; then