diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-04 20:04:31 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-11-04 20:04:31 +0100 |
commit | 95a6d399f897411a5c19290551085ce5945930c7 (patch) | |
tree | cd5b624ba9f833760fd066a99f5ae42d3c468b8f | |
parent | 1fe606a63bfde38a5495ac0cf80511994471f548 (diff) | |
download | exchange-95a6d399f897411a5c19290551085ce5945930c7.tar.xz |
wget-ing /admin/add/incoming from bank-lib testcase
-rw-r--r-- | src/bank-lib/test_bank_api.c | 10 | ||||
-rw-r--r-- | src/exchange-lib/test_exchange_api.c | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c index bc5e225ea..88ca2fd24 100644 --- a/src/bank-lib/test_bank_api.c +++ b/src/bank-lib/test_bank_api.c @@ -114,6 +114,16 @@ main (int argc, } while (0 != system ("wget -q -t 1 -T 1 http://127.0.0.1:8080/ -o /dev/null -O /dev/null")); + do + { + fprintf (stderr, "."); + sleep (1); + cnt++; + if (cnt > 30) + break; + } + while (0 != system ("wget -q -t 1 -T 1 http://127.0.0.1:8081/admin/add/incoming -o /dev/null -O /dev/null")); + fprintf (stderr, "\n"); result = GNUNET_SYSERR; if (cnt <= 30) diff --git a/src/exchange-lib/test_exchange_api.c b/src/exchange-lib/test_exchange_api.c index 39b8becef..e25fa66cd 100644 --- a/src/exchange-lib/test_exchange_api.c +++ b/src/exchange-lib/test_exchange_api.c @@ -3073,8 +3073,11 @@ main (int argc, unsigned long code; GNUNET_log_setup ("test-exchange-api", - "WARNING", - NULL); + "DEBUG", + "/tmp/logs"); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test log\n"); + return 0; + /* These might get in the way... */ unsetenv ("XDG_DATA_HOME"); unsetenv ("XDG_CONFIG_HOME"); |