summaryrefslogtreecommitdiff
path: root/src/auditor-lib/test_auditor_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-18 11:53:37 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-18 11:53:37 +0100
commit8facb1c8ca6bee8399d83cde35a170f647da1636 (patch)
treebbb07be09dc7edfe718da2ffe1b266cd00d04e86 /src/auditor-lib/test_auditor_api.c
parentbbbb0986c63c162fbd299d6fe20cd4e4ba0f705f (diff)
downloadexchange-8facb1c8ca6bee8399d83cde35a170f647da1636.tar.gz
exchange-8facb1c8ca6bee8399d83cde35a170f647da1636.tar.bz2
exchange-8facb1c8ca6bee8399d83cde35a170f647da1636.zip
add dbinit cmd
Diffstat (limited to 'src/auditor-lib/test_auditor_api.c')
-rw-r--r--src/auditor-lib/test_auditor_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/auditor-lib/test_auditor_api.c b/src/auditor-lib/test_auditor_api.c
index 6393ce351..1702260d8 100644
--- a/src/auditor-lib/test_auditor_api.c
+++ b/src/auditor-lib/test_auditor_api.c
@@ -125,6 +125,9 @@ static char *exchange_url;
EXCHANGE_ACCOUNT_NO, USER_LOGIN_NAME, USER_LOGIN_PASS, \
subject, exchange_url)
+#define CMD_RUN_AUDITOR(label) \
+ TALER_TESTING_cmd_exec_auditor (label, CONFIG_FILE)
+
/**
* Main function that will tell the interpreter what commands to
@@ -137,6 +140,9 @@ run (void *cls,
struct TALER_TESTING_Interpreter *is)
{
struct TALER_TESTING_Command commands[] = {
+ CMD_RUN_AUDITOR_DBINIT("virgin-auditor"),
+ CMD_RUN_AUDITOR("virgin-auditor"),
+
/**
* End the suite. Fixme: better to have a label for this
* too, as it shows a "(null)" token on logs.