aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-11 15:40:22 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-11 15:40:22 +0200
commitc6633ef267aef3f608c49f5631dc930b8fd5d9a4 (patch)
tree0b9adde171fd5e14425b0af6a474020e950ac975
parent2d1c4b44a646b77e63f4ccd88941492beeeffdf8 (diff)
downloadmerchant-c6633ef267aef3f608c49f5631dc930b8fd5d9a4.tar.gz
merchant-c6633ef267aef3f608c49f5631dc930b8fd5d9a4.tar.bz2
merchant-c6633ef267aef3f608c49f5631dc930b8fd5d9a4.zip
wget needs ApiKey header.
-rw-r--r--src/lib/testing_api_helpers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/testing_api_helpers.c b/src/lib/testing_api_helpers.c
index 9bccd4db..e97714ef 100644
--- a/src/lib/testing_api_helpers.c
+++ b/src/lib/testing_api_helpers.c
@@ -60,7 +60,9 @@ TALER_TESTING_run_merchant (const char *config_filename,
MERCHANT_FAIL ();
GNUNET_asprintf (&wget_cmd,
- "wget -q -t 1 -T 1 %s"
+ "wget -q -t 1 -T 1"
+ "--header='Authentication: ApiKey sandbox'"
+ " %s"
" -o /dev/null -O /dev/null",
merchant_url);