From 8facb1c8ca6bee8399d83cde35a170f647da1636 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 18 Nov 2018 11:53:37 +0100 Subject: add dbinit cmd --- src/auditor-lib/test_auditor_api.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/auditor-lib/test_auditor_api.c') 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. -- cgit v1.2.3