]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
make gnutls-cli more quiet.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Mar 2011 11:27:07 +0000 (12:27 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 Mar 2011 11:27:07 +0000 (12:27 +0100)
tests/dsa/testdsa

index 239c4e22b2be1a5f2669f2a91dbc93e5624bbe85..94ad95eeaba77e76b7410e8882f5b8e4cab69e47 100755 (executable)
@@ -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