summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-03 14:06:19 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-03 14:06:19 +0200
commitd89d64100d97b8987521b35fc1d869b9cc65979c (patch)
tree2c98276db69b3bc2791bf177625f0b9f98bd2aa6 /src/lib
parentc2e039bef04ab57d03657ea2bb935b8bd1d0c2fc (diff)
downloadmerchant-d89d64100d97b8987521b35fc1d869b9cc65979c.tar.gz
merchant-d89d64100d97b8987521b35fc1d869b9cc65979c.tar.bz2
merchant-d89d64100d97b8987521b35fc1d869b9cc65979c.zip
remove hard-coded config file
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/testing_api_helpers.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/testing_api_helpers.c b/src/lib/testing_api_helpers.c
index 4213dbc8..43ace621 100644
--- a/src/lib/testing_api_helpers.c
+++ b/src/lib/testing_api_helpers.c
@@ -162,15 +162,15 @@ TALER_TESTING_prepare_merchant (const char *config_filename)
}
/* DB preparation */
- if (NULL ==
- (dbinit_proc = GNUNET_OS_start_process (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL, NULL,
- "taler-merchant-dbinit",
- "taler-merchant-dbinit",
- "-c", "test_merchant_api.conf",
- "-r",
- NULL)))
+ if (NULL == (dbinit_proc = GNUNET_OS_start_process
+ (GNUNET_NO,
+ GNUNET_OS_INHERIT_STD_ALL,
+ NULL, NULL, NULL,
+ "taler-merchant-dbinit",
+ "taler-merchant-dbinit",
+ "-c", config_filename,
+ "-r",
+ NULL)))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to run taler-merchant-dbinit."