summaryrefslogtreecommitdiff
path: root/src/testing/test_auditor_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-07 14:53:32 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-07 14:53:32 +0100
commitca7fa98016cc22b94e5dcdafe2cb0cafb9af6563 (patch)
tree28801eac877fbdf17c68194182782bb002f88698 /src/testing/test_auditor_api.c
parente35e89f14db219b35e5f3c21ae833685db9c1c00 (diff)
downloadexchange-ca7fa98016cc22b94e5dcdafe2cb0cafb9af6563.tar.gz
exchange-ca7fa98016cc22b94e5dcdafe2cb0cafb9af6563.tar.bz2
exchange-ca7fa98016cc22b94e5dcdafe2cb0cafb9af6563.zip
-fix config file names
Diffstat (limited to 'src/testing/test_auditor_api.c')
-rw-r--r--src/testing/test_auditor_api.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/testing/test_auditor_api.c b/src/testing/test_auditor_api.c
index 314e0a876..d1616c915 100644
--- a/src/testing/test_auditor_api.c
+++ b/src/testing/test_auditor_api.c
@@ -692,12 +692,6 @@ main (int argc,
"INFO",
NULL);
- /* Check fakebank port is available and get configuration data. */
- if (GNUNET_OK !=
- TALER_TESTING_prepare_fakebank (config_file,
- "exchange-account-2",
- &bc))
- return 77;
cipher = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
GNUNET_assert (NULL != cipher);
GNUNET_asprintf (&config_file,
@@ -706,7 +700,12 @@ main (int argc,
GNUNET_asprintf (&config_file_expire_reserve_now,
"test_auditor_api_expire_reserve_now-%s.conf",
cipher);
-
+ /* Check fakebank port is available and get configuration data. */
+ if (GNUNET_OK !=
+ TALER_TESTING_prepare_fakebank (config_file,
+ "exchange-account-2",
+ &bc))
+ return 77;
TALER_TESTING_cleanup_files (config_file);
/* @helpers. Run keyup, create tables, ... Note: it
* fetches the port number from config in order to see