summaryrefslogtreecommitdiff
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:26 +0100
commit1f58661615d6b09f6406b0759f2491305c882443 (patch)
tree925ad9eea4738d07f01865d59acf813b26411753
parent430d9ae89b63200c91ed9ea098f1f36f494224aa (diff)
downloadgnutls-1f58661615d6b09f6406b0759f2491305c882443.tar.gz
make gnutls-cli more quiet.
-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