gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: log more


From: gnunet
Subject: [libmicrohttpd] branch master updated: log more
Date: Wed, 19 Feb 2020 17:32:00 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 0c3fad02 log more
0c3fad02 is described below

commit 0c3fad028817b7dff0d0c30b78d46b893360de54
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 19 17:28:05 2020 +0100

    log more
---
 src/testcurl/test_get_chunked.c  | 5 +++++
 src/testcurl/test_get_sendfile.c | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/src/testcurl/test_get_chunked.c b/src/testcurl/test_get_chunked.c
index daf690f1..7be1db60 100644
--- a/src/testcurl/test_get_chunked.c
+++ b/src/testcurl/test_get_chunked.c
@@ -162,7 +162,12 @@ validate (struct CBC cbc, int ebase)
   char buf[128];
 
   if (cbc.pos != 128 * 10)
+  {
+    fprintf (stderr,
+             "Got %u bytes instead of 1280!\n",
+             (unsigned int) cbc.pos);
     return ebase;
+  }
 
   for (i = 0; i < 10; i++)
   {
diff --git a/src/testcurl/test_get_sendfile.c b/src/testcurl/test_get_sendfile.c
index d2913e67..ad102f0b 100644
--- a/src/testcurl/test_get_sendfile.c
+++ b/src/testcurl/test_get_sendfile.c
@@ -488,7 +488,14 @@ testExternalGet ()
   }
   MHD_stop_daemon (d);
   if (cbc.pos != strlen (TESTSTR))
+  {
+    fprintf (stderr,
+             "Got %.*s instead of %S!\n",
+             (int) cbc.pos,
+             cbc.buf,
+             TESTSTR);
     return 8192;
+  }
   if (0 != strncmp (TESTSTR, cbc.buf, strlen (TESTSTR)))
     return 16384;
   return 0;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]