do not output file on wget in testing

This commit is contained in:
Christian Grothoff 2019-09-15 13:17:59 +02:00
parent ff0a206f9d
commit 3d6928fab8
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -40,6 +40,7 @@ struct SleepState
unsigned int duration; unsigned int duration;
}; };
/** /**
* No traits to offer, just provide a stub to be called when * No traits to offer, just provide a stub to be called when
* some CMDs iterates through the list of all the commands. * some CMDs iterates through the list of all the commands.
@ -60,6 +61,7 @@ sleep_traits (void *cls,
return GNUNET_NO; return GNUNET_NO;
} }
/** /**
* Run the command. * Run the command.
* *
@ -111,7 +113,7 @@ TALER_TESTING_cmd_sleep (const char *label,
ss = GNUNET_new (struct SleepState); ss = GNUNET_new (struct SleepState);
ss->duration = duration_s; ss->duration = duration_s;
{
struct TALER_TESTING_Command cmd = { struct TALER_TESTING_Command cmd = {
.cls = ss, .cls = ss,
.label = label, .label = label,
@ -121,8 +123,10 @@ TALER_TESTING_cmd_sleep (const char *label,
}; };
return cmd; return cmd;
}
} }
/** /**
* Cleanup the state from a "wait service" CMD. * Cleanup the state from a "wait service" CMD.
* *
@ -137,6 +141,7 @@ wait_service_cleanup (void *cls,
return; return;
} }
/** /**
* No traits to offer, just provide a stub to be called when * No traits to offer, just provide a stub to be called when
* some CMDs iterates through the list of all the commands. * some CMDs iterates through the list of all the commands.
@ -157,6 +162,7 @@ wait_service_traits (void *cls,
return GNUNET_NO; return GNUNET_NO;
} }
/** /**
* Run a "wait service" CMD. * Run a "wait service" CMD.
* *
@ -174,7 +180,7 @@ wait_service_run (void *cls,
char *wget_cmd; char *wget_cmd;
GNUNET_asprintf (&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); url);
do do
{ {