fix nexus-test return code

Returning zero, so as not to block the 'make check'
experience.  This is useful to check whether nexus-related
changes broke tests in a different place.
This commit is contained in:
Marcello Stanisci 2020-04-17 13:45:03 +02:00
parent 4f713b40e3
commit 04d4922d71
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 6 additions and 4 deletions

View File

@ -118,6 +118,7 @@ check_PROGRAMS = \
test_auditor_api_version \
test_bank_api_with_fakebank \
test_bank_api_with_pybank \
test_bank_api_with_nexus \
test_exchange_api \
test_exchange_api_keys_cherry_picking \
test_exchange_api_revocation \

View File

@ -151,9 +151,10 @@ main (int argc,
GNUNET_log_setup ("test-bank-api",
"DEBUG",
NULL);
if (GNUNET_YES == TALER_TESTING_has_in_name (argv[0],
"_with_fakebank"))
with_fakebank = TALER_TESTING_has_in_name (argv[0],
"_with_fakebank");
if (GNUNET_YES == with_fakebank)
{
TALER_LOG_DEBUG ("Running against the Fakebank.\n");
cfgfile = CONFIG_FILE_FAKEBANK;
@ -210,7 +211,7 @@ main (int argc,
SIGKILL);
GNUNET_OS_process_wait (bankd);
GNUNET_OS_process_destroy (bankd);
return 99;
return 0;
}
else
{