summaryrefslogtreecommitdiff
path: root/tests/dsa
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-19 12:27:07 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-03-19 12:27:07 +0100
commit0ce9d5617e88824df394b56f00317643bee24efc (patch)
tree6f2025795afb0e95f7bb1ae07a69cd1910f74b65 /tests/dsa
parentad2061deafdd7db78fd405f9d143b0a7c579da7b (diff)
downloadgnutls-0ce9d5617e88824df394b56f00317643bee24efc.tar.gz
make gnutls-cli more quiet.
Diffstat (limited to 'tests/dsa')
-rwxr-xr-xtests/dsa/testdsa4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dsa/testdsa b/tests/dsa/testdsa
index 239c4e22b2..94ad95eeab 100755
--- a/tests/dsa/testdsa
+++ b/tests/dsa/testdsa
@@ -72,7 +72,7 @@ $SERV -p $PORT --priority "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0" --x509certfile $sr
# give the server a chance to initialize
sleep 2
-$CLI -p $PORT 127.0.0.1 --insecure </dev/null >/dev/null && \
+$CLI -p $PORT 127.0.0.1 --insecure </dev/null >/dev/null 2>&1 && \
fail "Succeeded connection to a server with DSA 2048 key and TLS 1.0. Should have failed!"
kill %1
@@ -102,7 +102,7 @@ $SERV -p $PORT --priority "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0" --x509certfile $sr
# give the server a chance to initialize
sleep 2
-$CLI -p $PORT 127.0.0.1 --insecure </dev/null >/dev/null && \
+$CLI -p $PORT 127.0.0.1 --insecure </dev/null >/dev/null 2>&1 && \
fail "Succeeded connection to a server with DSA 2048 key and TLS 1.0. Should have failed!"
kill %1