From 57d407aba226740d7e5f830155c260199461bb6d Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 20 Mar 2010 14:57:26 +0100 Subject: Reduced several unneeded messages during the make check procedure. Verbose messages can be obtained with --verbose. --- tests/mini-eagain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/mini-eagain.c') diff --git a/tests/mini-eagain.c b/tests/mini-eagain.c index 3956b98911..872a16bd95 100644 --- a/tests/mini-eagain.c +++ b/tests/mini-eagain.c @@ -225,7 +225,7 @@ doit (void) } while (cret == GNUTLS_E_AGAIN || sret == GNUTLS_E_AGAIN); handshake = 0; - success ("Handshake established\n"); + if (debug) success ("Handshake established\n"); ns = gnutls_record_send (client, MSG, strlen (MSG)); //success ("client: sent %d\n", ns); @@ -248,7 +248,7 @@ doit (void) else { transferred += ret; - fputs ("*", stdout); + if (debug) fputs ("*", stdout); } ns = gnutls_record_send (server, MSG, strlen (MSG)); @@ -270,11 +270,11 @@ doit (void) else { transferred += ret; - fputs (".", stdout); + if (debug) fputs (".", stdout); } } while (transferred < 7000); - fputs ("\n", stdout); + if (debug) fputs ("\n", stdout); gnutls_bye (client, GNUTLS_SHUT_RDWR); gnutls_bye (server, GNUTLS_SHUT_RDWR); -- cgit v1.2.1