diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-03-20 14:57:26 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-03-20 14:57:26 +0100 |
commit | 57d407aba226740d7e5f830155c260199461bb6d (patch) | |
tree | 0b3d4f5c1e52d98f13273c9a4d22d03a10e6c98c /tests/mini-eagain.c | |
parent | 5bf4daf8d5ebc79058bdafe8167da04abc5c5582 (diff) | |
download | gnutls-57d407aba226740d7e5f830155c260199461bb6d.tar.gz |
Reduced several unneeded messages during the make check procedure.
Verbose messages can be obtained with --verbose.
Diffstat (limited to 'tests/mini-eagain.c')
-rw-r--r-- | tests/mini-eagain.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |