aboutsummaryrefslogtreecommitdiff
path: root/src/cli/reclaim/test_reclaim_consume.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/reclaim/test_reclaim_consume.sh')
-rwxr-xr-xsrc/cli/reclaim/test_reclaim_consume.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cli/reclaim/test_reclaim_consume.sh b/src/cli/reclaim/test_reclaim_consume.sh
index 8a88136c6..00076fbf8 100755
--- a/src/cli/reclaim/test_reclaim_consume.sh
+++ b/src/cli/reclaim/test_reclaim_consume.sh
@@ -32,11 +32,13 @@ SUBJECT_KEY=$(gnunet-identity -d -e rpego -q -c test_reclaim.conf)
32TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) 32TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf)
33gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf 33gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf
34gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf 34gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf
35TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') 35TICKET=$(gnunet-reclaim -e testego -U "urn:gns:$TEST_KEY" -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}')
36echo "Ticket: $TICKET"
37gnunet-gns -u $TICKET -c test_reclaim.conf
36gnunet-namestore -z testego -D -c test_reclaim.conf 38gnunet-namestore -z testego -D -c test_reclaim.conf
37gnunet-identity -d -c test_reclaim.conf 39gnunet-identity -d -c test_reclaim.conf
38sleep 1 40sleep 1
39gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf 41gnunet-reclaim -e rpego -U "urn:gns:$TEST_KEY" -C $TICKET -c test_reclaim.conf
40 42
41RES=$? 43RES=$?
42gnunet-identity -D testego -c test_reclaim.conf 44gnunet-identity -D testego -c test_reclaim.conf