-code cleanup
authorChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 11:25:20 +0000 (11:25 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 11:25:20 +0000 (11:25 +0000)
src/fs/test_fs_namespace.c
src/fs/test_fs_search.c

index 9305a501fb8a61002f1d17981b1b764387fd6a62..e9cdb367601365fa7f34e85a02c8e2a8833fd326 100644 (file)
@@ -69,9 +69,6 @@ setup_peer (struct PeerContext *p, const char *cfgname)
   p->arm_proc =
     GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
                                "gnunet-service-arm",
-#if VERBOSE
-                               "-L", "DEBUG",
-#endif
                                "-c", cfgname, NULL);
 #endif
   GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
@@ -378,9 +375,6 @@ main (int argc, char *argv[])
     "test-fs-namespace",
     "-c",
     "test_fs_namespace_data.conf",
-#if VERBOSE
-    "-L", "DEBUG",
-#endif
     NULL
   };
   struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -388,11 +382,7 @@ main (int argc, char *argv[])
   };
 
   GNUNET_log_setup ("test_fs_namespace",
-#if VERBOSE
-                    "DEBUG",
-#else
                     "WARNING",
-#endif
                     NULL);
   GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx,
                       "test-fs-namespace", "nohelp", options, &run, NULL);
index a3a9b54449dddff683a1f5a9c0472e3217a72df9..04c5897ac23a426e85c6987c35a3b19f5b60fddc 100644 (file)
@@ -176,9 +176,6 @@ setup_peer (struct PeerContext *p, const char *cfgname)
   p->arm_proc =
       GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
                                "gnunet-service-arm",
-#if VERBOSE
-                               "-L", "DEBUG",
-#endif
                                "-c", cfgname, NULL);
 #endif
   GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
@@ -254,9 +251,6 @@ main (int argc, char *argv[])
     "test-fs-search",
     "-c",
     "test_fs_search_data.conf",
-#if VERBOSE
-    "-L", "DEBUG",
-#endif
     NULL
   };
   struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -264,11 +258,7 @@ main (int argc, char *argv[])
   };
 
   GNUNET_log_setup ("test_fs_search",
-#if VERBOSE
-                    "DEBUG",
-#else
                     "WARNING",
-#endif
                     NULL);
   GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx,
                       "test-fs-search", "nohelp", options, &run, NULL);