From 124ae0d5a2ed0bde0944a3be75f72b7a02d1d1cf Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 29 Jun 2018 15:15:07 +0200 Subject: Fix #5277. --- src/exchange-lib/testing_api_cmd_exec_auditor-sign.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c index 7bbf6d640..e589dbc67 100644 --- a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c +++ b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c @@ -68,6 +68,7 @@ auditor_sign_run (void *cls, char *test_home_dir; char *signed_keys_out; char *exchange_master_pub; + struct GNUNET_TIME_Absolute now; cfg = GNUNET_CONFIGURATION_create (); if (GNUNET_OK != GNUNET_CONFIGURATION_load @@ -93,10 +94,12 @@ auditor_sign_run (void *cls, return; } - GNUNET_asprintf (&signed_keys_out, - "%s/.local/share/taler/auditors/auditor.out", - test_home_dir); - + now = GNUNET_TIME_absolute_get (); + GNUNET_asprintf + (&signed_keys_out, + "%s/.local/share/taler/auditors/auditor-%llu.out", + test_home_dir, + (unsigned long long) now.abs_value_us); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, -- cgit v1.2.3