diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_bank_api.c | 8 | ||||
-rw-r--r-- | src/testing/test_exchange_api_overlapping_keys_bug.c | 12 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_withdraw.c | 3 | ||||
-rw-r--r-- | src/testing/testing_api_helpers_bank.c | 4 |
4 files changed, 8 insertions, 19 deletions
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c index 8e788493d..7f3b7099d 100644 --- a/src/testing/test_bank_api.c +++ b/src/testing/test_bank_api.c @@ -220,17 +220,13 @@ main (int argc, return 77; } libeufin_services = TALER_TESTING_run_libeufin (&bc); - if ( (NULL == libeufin_services.nexus) || (NULL == - libeufin_services.sandbox) ) - { - GNUNET_break (0); + if ( (NULL == libeufin_services.nexus) || + (NULL == libeufin_services.sandbox) ) return 77; - } } else { /* no bank service was ever invoked. */ - GNUNET_break (0); return 77; } diff --git a/src/testing/test_exchange_api_overlapping_keys_bug.c b/src/testing/test_exchange_api_overlapping_keys_bug.c index 27d4c6801..74039cce4 100644 --- a/src/testing/test_exchange_api_overlapping_keys_bug.c +++ b/src/testing/test_exchange_api_overlapping_keys_bug.c @@ -43,18 +43,6 @@ #define CONFIG_FILE "test_exchange_api_keys_cherry_picking.conf" /** - * Used to increase the number of denomination keys. - */ -#define CONFIG_FILE_EXTENDED \ - "test_exchange_api_keys_cherry_picking_extended.conf" - -/** - * Used to increase the number of denomination keys. - */ -#define CONFIG_FILE_EXTENDED_2 \ - "test_exchange_api_keys_cherry_picking_extended_2.conf" - -/** * Exchange configuration data. */ static struct TALER_TESTING_ExchangeConfiguration ec; diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c index df33ef2eb..cfbdc177d 100644 --- a/src/testing/testing_api_cmd_withdraw.c +++ b/src/testing/testing_api_cmd_withdraw.c @@ -265,6 +265,9 @@ reserve_withdraw_cb (void *cls, case MHD_HTTP_CONFLICT: /* nothing to check */ break; + case MHD_HTTP_GONE: + /* theoretically could check that the key was actually */ + break; case MHD_HTTP_NOT_FOUND: /* nothing to check */ break; diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c index c42c52cd8..6751f3f4d 100644 --- a/src/testing/testing_api_helpers_bank.c +++ b/src/testing/testing_api_helpers_bank.c @@ -129,7 +129,9 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc) NULL); if (NULL == nexus_proc) { - GNUNET_break (0); + GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, + "exec", + "libeufin-nexus"); return ret; } GNUNET_asprintf (&curl_check_cmd, |