diff options
Diffstat (limited to 'src/cli/reclaim/test_reclaim_consume.sh')
-rwxr-xr-x | src/cli/reclaim/test_reclaim_consume.sh | 6 |
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) | |||
32 | TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) | 32 | TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) |
33 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf | 33 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf |
34 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf | 34 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf |
35 | TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') | 35 | TICKET=$(gnunet-reclaim -e testego -U "urn:gns:$TEST_KEY" -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') |
36 | echo "Ticket: $TICKET" | ||
37 | gnunet-gns -u $TICKET -c test_reclaim.conf | ||
36 | gnunet-namestore -z testego -D -c test_reclaim.conf | 38 | gnunet-namestore -z testego -D -c test_reclaim.conf |
37 | gnunet-identity -d -c test_reclaim.conf | 39 | gnunet-identity -d -c test_reclaim.conf |
38 | sleep 1 | 40 | sleep 1 |
39 | gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf | 41 | gnunet-reclaim -e rpego -U "urn:gns:$TEST_KEY" -C $TICKET -c test_reclaim.conf |
40 | 42 | ||
41 | RES=$? | 43 | RES=$? |
42 | gnunet-identity -D testego -c test_reclaim.conf | 44 | gnunet-identity -D testego -c test_reclaim.conf |