diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-09 18:31:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-09 18:31:26 +0200 |
commit | d0fb01185085d6f4423d5fc2ea726113676749a8 (patch) | |
tree | 9e83635227abebfd68ba2a5ead205fb1b51d2234 /src/mint-lib/test_mint_api.c | |
parent | 462d315247610e4223a0a94096e93b6036068e98 (diff) | |
download | exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.tar.gz exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.tar.bz2 exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.zip |
fixing silly bug
Diffstat (limited to 'src/mint-lib/test_mint_api.c')
-rw-r--r-- | src/mint-lib/test_mint_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index 4881a3b15..cc5009879 100644 --- a/src/mint-lib/test_mint_api.c +++ b/src/mint-lib/test_mint_api.c @@ -1906,7 +1906,6 @@ run (void *cls, .details.deposit.contract = "{ \"items\"={ \"name\":\"ice cream\", \"value\":2 } }", .details.deposit.transaction_id = 1 }, -#if TEST_REFRESH /* ***************** /refresh testing ******************** */ /* Fill reserve with EUR:5.01, as withdraw fee is 1 ct */ @@ -1945,6 +1944,8 @@ run (void *cls, .expected_response_code = MHD_HTTP_OK, .details.refresh_reveal.melt_ref = "refresh-melt-1" }, +#if TEST_REFRESH_LINK + /* Test that /refresh/link works */ { .oc = OC_REFRESH_LINK, .label = "refresh-link-1", @@ -2046,7 +2047,7 @@ main (int argc, fprintf (stderr, "."); sleep (1); } - while (0 != system ("wget -q -t 1 http://localhost:8081/agpl -o /dev/null")); + while (0 != system ("wget -q -t 1 http://localhost:8081/agpl -o /dev/null -O /dev/null")); fprintf (stderr, "\n"); result = GNUNET_SYSERR; GNUNET_SCHEDULER_run (&run, NULL); |