summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-21 15:03:31 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-21 15:03:31 +0200
commite352fdd356dd3d78c992b9355e68b392cb9d10c2 (patch)
treecb8031b9956f7df2e7350ead4a99086d4399d551
parente21995f0009b4143e19f3a618bf8107c9bc94a50 (diff)
downloadexchange-e352fdd356dd3d78c992b9355e68b392cb9d10c2.tar.gz
exchange-e352fdd356dd3d78c992b9355e68b392cb9d10c2.tar.bz2
exchange-e352fdd356dd3d78c992b9355e68b392cb9d10c2.zip
run wirewatch with specific account
-rw-r--r--src/testing/test_auditor_api.c2
-rw-r--r--src/testing/test_exchange_api.c2
-rw-r--r--src/testing/test_exchange_api_revocation.c5
-rw-r--r--src/testing/test_exchange_api_twisted.c5
-rw-r--r--src/testing/test_exchange_p2p.c2
-rw-r--r--src/testing/test_kyc_api.c2
6 files changed, 10 insertions, 8 deletions
diff --git a/src/testing/test_auditor_api.c b/src/testing/test_auditor_api.c
index 236468700..592cc0163 100644
--- a/src/testing/test_auditor_api.c
+++ b/src/testing/test_auditor_api.c
@@ -56,7 +56,7 @@ static struct TALER_TESTING_Credentials cred;
* @param label label to use for the command.
*/
#define CMD_EXEC_WIREWATCH(label) \
- TALER_TESTING_cmd_exec_wirewatch (label, config_file)
+ TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2")
/**
* Execute the taler-exchange-aggregator, closer and transfer commands with
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c
index 6e3cce412..3cf00fbd4 100644
--- a/src/testing/test_exchange_api.c
+++ b/src/testing/test_exchange_api.c
@@ -69,7 +69,7 @@ static bool uses_cs;
* @param label label to use for the command.
*/
#define CMD_EXEC_WIREWATCH(label) \
- TALER_TESTING_cmd_exec_wirewatch (label, config_file)
+ TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2")
/**
* Execute the taler-exchange-aggregator, closer and transfer commands with
diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c
index 70e5fa78f..59f4e3ff0 100644
--- a/src/testing/test_exchange_api_revocation.c
+++ b/src/testing/test_exchange_api_revocation.c
@@ -86,8 +86,9 @@ run (void *cls,
/**
* Run wire-watch to trigger the reserve creation.
*/
- TALER_TESTING_cmd_exec_wirewatch ("wirewatch-4",
- config_file),
+ TALER_TESTING_cmd_exec_wirewatch2 ("wirewatch-4",
+ config_file,
+ "exchange-account-2"),
/* Withdraw a 5 EUR coin, at fee of 1 ct */
TALER_TESTING_cmd_withdraw_amount ("withdraw-revocation-coin-1",
"create-reserve-1",
diff --git a/src/testing/test_exchange_api_twisted.c b/src/testing/test_exchange_api_twisted.c
index 5324a1025..c55b3f2ba 100644
--- a/src/testing/test_exchange_api_twisted.c
+++ b/src/testing/test_exchange_api_twisted.c
@@ -68,8 +68,9 @@ static struct GNUNET_OS_Process *twisterd;
static struct TALER_TESTING_Command
CMD_EXEC_WIREWATCH (const char *label)
{
- return TALER_TESTING_cmd_exec_wirewatch (label,
- config_file);
+ return TALER_TESTING_cmd_exec_wirewatch2 (label,
+ config_file,
+ "exchange-account-2");
}
diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c
index 3bf191359..636dffe22 100644
--- a/src/testing/test_exchange_p2p.c
+++ b/src/testing/test_exchange_p2p.c
@@ -62,7 +62,7 @@ static bool uses_cs;
* @param label label to use for the command.
*/
#define CMD_EXEC_WIREWATCH(label) \
- TALER_TESTING_cmd_exec_wirewatch (label, config_file)
+ TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2")
/**
* Execute the taler-exchange-aggregator, closer and transfer commands with
diff --git a/src/testing/test_kyc_api.c b/src/testing/test_kyc_api.c
index c45604195..5f51b86e8 100644
--- a/src/testing/test_kyc_api.c
+++ b/src/testing/test_kyc_api.c
@@ -53,7 +53,7 @@ struct TALER_TESTING_Credentials cred;
* @param label label to use for the command.
*/
#define CMD_EXEC_WIREWATCH(label) \
- TALER_TESTING_cmd_exec_wirewatch (label, CONFIG_FILE)
+ TALER_TESTING_cmd_exec_wirewatch2 (label, CONFIG_FILE, "exchange-account-2")
/**
* Execute the taler-exchange-aggregator, closer and transfer commands with