aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-22 14:46:52 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-22 14:46:52 +0200
commitcedcde4939d560783286b533d01fbe6163dc5766 (patch)
treecc2ce21bf7f10453859dcb0ab2fa86abbb98567e /src/auditor
parentc4bbc4ac566c3e5f32f40b0db6326bfa68e756c9 (diff)
downloadexchange-cedcde4939d560783286b533d01fbe6163dc5766.tar.xz
fix taler-auditor-sync: needs two plugins running in parallel with their own prepare counters
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor-sync.c2
-rwxr-xr-xsrc/auditor/test-sync.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor-sync.c b/src/auditor/taler-auditor-sync.c
index 16ace8fa5..803328f2e 100644
--- a/src/auditor/taler-auditor-sync.c
+++ b/src/auditor/taler-auditor-sync.c
@@ -392,7 +392,7 @@ do_sync (void *cls)
* @param value actual value of the option (a string)
* @return #GNUNET_OK
*/
-static int
+static enum GNUNET_GenericReturnValue
set_filename (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx,
void *scls,
const char *option,
diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh
index 174e03c6e..0293dbec5 100755
--- a/src/auditor/test-sync.sh
+++ b/src/auditor/test-sync.sh
@@ -62,6 +62,9 @@ function check_with_database()
psql -Aqt talercheck-in -q -1 -f $1.sql >/dev/null || exit_skip "Failed to load database"
echo -n "."
+ echo "Please run:"
+ echo "taler-auditor-sync -s test-sync-in.conf -d test-sync-out.conf -t"
+ bash
taler-auditor-sync -s test-sync-in.conf -d test-sync-out.conf -t
# cs_nonce_locks excluded: no point