aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim')
-rw-r--r--src/reclaim/reclaim_api.c1
-rw-r--r--src/reclaim/test_reclaim.conf2
-rwxr-xr-xsrc/reclaim/test_reclaim_consume.sh14
3 files changed, 9 insertions, 8 deletions
diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c
index f41473f9f..bc6b835c9 100644
--- a/src/reclaim/reclaim_api.c
+++ b/src/reclaim/reclaim_api.c
@@ -1550,7 +1550,6 @@ GNUNET_RECLAIM_ticket_issue (
1550 struct IssueTicketMessage *tim; 1550 struct IssueTicketMessage *tim;
1551 size_t attr_len; 1551 size_t attr_len;
1552 1552
1553 fprintf (stderr, "Issuing ticket\n");
1554 op = GNUNET_new (struct GNUNET_RECLAIM_Operation); 1553 op = GNUNET_new (struct GNUNET_RECLAIM_Operation);
1555 op->h = h; 1554 op->h = h;
1556 op->ti_cb = cb; 1555 op->ti_cb = cb;
diff --git a/src/reclaim/test_reclaim.conf b/src/reclaim/test_reclaim.conf
index ec19056e4..2dc53fe81 100644
--- a/src/reclaim/test_reclaim.conf
+++ b/src/reclaim/test_reclaim.conf
@@ -15,7 +15,7 @@ PLUGINS =
15 15
16[reclaim] 16[reclaim]
17START_ON_DEMAND = YES 17START_ON_DEMAND = YES
18TICKET_REFRESH_INTERVAL = 15s 18TICKET_REFRESH_INTERVAL = 30 s
19#PREFIX = valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=$GNUNET_TMP/idplog 19#PREFIX = valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --log-file=$GNUNET_TMP/idplog
20 20
21[gns] 21[gns]
diff --git a/src/reclaim/test_reclaim_consume.sh b/src/reclaim/test_reclaim_consume.sh
index 9186d3cb1..c012862c3 100755
--- a/src/reclaim/test_reclaim_consume.sh
+++ b/src/reclaim/test_reclaim_consume.sh
@@ -32,12 +32,14 @@ TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf)
32gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf 32gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf
33gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf 33gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf
34TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') 34TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}')
35gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf >/dev/null 2>&1 35gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf #>/dev/null 2>&1
36 36
37if test $? != 0 37RES=$?
38gnunet-identity -D testego -c test_reclaim.conf
39gnunet-identity -D rpego -c test_reclaim.conf
40gnunet-arm -e -c test_reclaim.conf
41if test $RES != 0
38then 42then
39 "Failed." 43 echo "Failed."
40 exit 1
41fi 44fi
42#curl http://localhost:7776/reclaim/tickets/testego 45
43gnunet-arm -e -c test_reclaim.conf