gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36093 - libmicrohttpd/src/testcurl


From: gnunet
Subject: [GNUnet-SVN] r36093 - libmicrohttpd/src/testcurl
Date: Thu, 16 Jul 2015 11:41:09 +0200

Author: grothoff
Date: 2015-07-16 11:41:09 +0200 (Thu, 16 Jul 2015)
New Revision: 36093

Modified:
   libmicrohttpd/src/testcurl/test_get_sendfile.c
   libmicrohttpd/src/testcurl/test_process_headers.c
Log:
-fix testcase style issues

Modified: libmicrohttpd/src/testcurl/test_get_sendfile.c
===================================================================
--- libmicrohttpd/src/testcurl/test_get_sendfile.c      2015-07-16 09:37:46 UTC 
(rev 36092)
+++ libmicrohttpd/src/testcurl/test_get_sendfile.c      2015-07-16 09:41:09 UTC 
(rev 36093)
@@ -17,9 +17,8 @@
      Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
      Boston, MA 02110-1301, USA.
 */
-
 /**
- * @file daemontest_get_sendfile.c
+ * @file test_get_sendfile.c
  * @brief  Testcase for libmicrohttpd response from FD
  * @author Christian Grothoff
  */
@@ -49,7 +48,7 @@
 
 #define TESTSTR "This is the content of the test file we are sending using 
sendfile (if available)"
 
-char *sourcefile;
+static char *sourcefile;
 
 static int oneone;
 
@@ -60,6 +59,7 @@
   size_t size;
 };
 
+
 static size_t
 copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
 {
@@ -162,6 +162,7 @@
   return 0;
 }
 
+
 static int
 testMultithreadedGet ()
 {
@@ -211,6 +212,7 @@
   return 0;
 }
 
+
 static int
 testMultithreadedPoolGet ()
 {
@@ -261,6 +263,7 @@
   return 0;
 }
 
+
 static int
 testExternalGet ()
 {
@@ -383,6 +386,7 @@
   return 0;
 }
 
+
 static int
 testUnknownPortGet ()
 {

Modified: libmicrohttpd/src/testcurl/test_process_headers.c
===================================================================
--- libmicrohttpd/src/testcurl/test_process_headers.c   2015-07-16 09:37:46 UTC 
(rev 36092)
+++ libmicrohttpd/src/testcurl/test_process_headers.c   2015-07-16 09:41:09 UTC 
(rev 36093)
@@ -424,6 +424,7 @@
 
   oneone = (NULL != strrchr (argv[0], (int) '/')) ?
     (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
+  errorCount += testInternalGet ();
   errorCount += testMultithreadedGet ();
   errorCount += testMultithreadedPoolGet ();
   errorCount += testExternalGet ();




reply via email to

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