gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9492 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r9492 - libmicrohttpd/src/testcurl/https
Date: Fri, 13 Nov 2009 07:54:35 -0700

Author: grothoff
Date: 2009-11-13 07:54:35 -0700 (Fri, 13 Nov 2009)
New Revision: 9492

Modified:
   libmicrohttpd/src/testcurl/https/tls_extension_test.c
   libmicrohttpd/src/testcurl/https/tls_test_common.c
Log:
be less verbose

Modified: libmicrohttpd/src/testcurl/https/tls_extension_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-11-13 
12:22:38 UTC (rev 9491)
+++ libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-11-13 
14:54:35 UTC (rev 9492)
@@ -214,7 +214,6 @@
     -1
   };
 
-  MHD__gnutls_global_init ();
   MHD_gtls_global_set_log_level (11);
 
   if ((test_fd = setup_test_file ()) == NULL)
@@ -246,7 +245,7 @@
   setup_session (&session, &key, &cert, &xcred);
   errorCount += test_hello_extension (session, ext_arr[i], 1, 16);
   teardown_session (session, &key, &cert, xcred);
-#if 0
+#if 1
   i = 0;
   while (ext_arr[i] != -1)
     {
@@ -269,7 +268,6 @@
   print_test_result (errorCount, argv[0]);
 
   MHD_stop_daemon (d);
-  MHD__gnutls_global_deinit ();
 
   curl_global_cleanup ();
   fclose (test_fd);

Modified: libmicrohttpd/src/testcurl/https/tls_test_common.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_test_common.c  2009-11-13 12:22:38 UTC 
(rev 9491)
+++ libmicrohttpd/src/testcurl/https/tls_test_common.c  2009-11-13 14:54:35 UTC 
(rev 9492)
@@ -35,10 +35,12 @@
 void
 print_test_result (int test_outcome, char *test_name)
 {
+#if 0
   if (test_outcome != 0)
     fprintf (stderr, "running test: %s [fail]\n", test_name);
   else
     fprintf (stdout, "running test: %s [pass]\n", test_name);
+#endif
 }
 
 size_t
@@ -402,10 +404,11 @@
       va_end (arg_list);
       return -1;
     }
-
+#if 0
   fprintf (stdout, "running test: %s ", test_name);
+#endif
   ret = test_function (test_fd, cipher_suite, proto_version);
-
+#if 0
   if (ret == 0)
     {
       fprintf (stdout, "[pass]\n");
@@ -414,7 +417,7 @@
     {
       fprintf (stdout, "[fail]\n");
     }
-
+#endif
   teardown_testcase (d);
   va_end (arg_list);
   return ret;





reply via email to

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