summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-04-17 13:45:03 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2020-04-17 15:30:24 +0200
commit04d4922d71a60a8a281e577bf569fd52f612ae57 (patch)
treec88bb95024cfe4b304d62f949c0491a765c45d0f /src
parent4f713b40e3571fef9f29fa8c16043a9dd7d8b841 (diff)
downloadexchange-04d4922d71a60a8a281e577bf569fd52f612ae57.tar.gz
exchange-04d4922d71a60a8a281e577bf569fd52f612ae57.tar.bz2
exchange-04d4922d71a60a8a281e577bf569fd52f612ae57.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/testing/Makefile.am1
-rw-r--r--src/testing/test_bank_api.c9
2 files changed, 6 insertions, 4 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am
index 922213da..d73e89b3 100644
--- a/src/testing/Makefile.am
+++ b/src/testing/Makefile.am
@@ -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 \
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index 9d182f29..2a709fb1 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -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
{