gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: do not output file


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: do not output file on wget in testing
Date: Sun, 15 Sep 2019 13:18:02 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 3d6928fa do not output file on wget in testing
3d6928fa is described below

commit 3d6928fab875bb0a6831bf7696654d1ba2a7af4f
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Sep 15 13:17:59 2019 +0200

    do not output file on wget in testing
---
 src/lib/testing_api_cmd_sleep.c | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/src/lib/testing_api_cmd_sleep.c b/src/lib/testing_api_cmd_sleep.c
index 326f38b5..4d270331 100644
--- a/src/lib/testing_api_cmd_sleep.c
+++ b/src/lib/testing_api_cmd_sleep.c
@@ -40,6 +40,7 @@ struct SleepState
   unsigned int duration;
 };
 
+
 /**
  * No traits to offer, just provide a stub to be called when
  * some CMDs iterates through the list of all the commands.
@@ -60,6 +61,7 @@ sleep_traits (void *cls,
   return GNUNET_NO;
 }
 
+
 /**
  * Run the command.
  *
@@ -111,18 +113,20 @@ TALER_TESTING_cmd_sleep (const char *label,
   ss = GNUNET_new (struct SleepState);
   ss->duration = duration_s;
 
-
-  struct TALER_TESTING_Command cmd = {
-    .cls = ss,
-    .label = label,
-    .run = &sleep_run,
-    .cleanup = &sleep_cleanup,
-    .traits = &sleep_traits
-  };
-
-  return cmd;
+  {
+    struct TALER_TESTING_Command cmd = {
+      .cls = ss,
+      .label = label,
+      .run = &sleep_run,
+      .cleanup = &sleep_cleanup,
+      .traits = &sleep_traits
+    };
+
+    return cmd;
+  }
 }
 
+
 /**
  * Cleanup the state from a "wait service" CMD.
  *
@@ -137,6 +141,7 @@ wait_service_cleanup (void *cls,
   return;
 }
 
+
 /**
  * No traits to offer, just provide a stub to be called when
  * some CMDs iterates through the list of all the commands.
@@ -157,6 +162,7 @@ wait_service_traits (void *cls,
   return GNUNET_NO;
 }
 
+
 /**
  * Run a "wait service" CMD.
  *
@@ -174,7 +180,7 @@ wait_service_run (void *cls,
   char *wget_cmd;
 
   GNUNET_asprintf (&wget_cmd,
-                   "wget -q -t 1 -T 1 %s\n",
+                   "wget -q -t 1 -T 1 %s -o /dev/null -O /dev/null",
                    url);
   do
   {

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



reply via email to

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