diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-05-09 19:15:24 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-05-09 19:15:24 +0200 |
commit | 1b728334b42c3a35cc391df73ed76e171e0bb128 (patch) | |
tree | b2a06064fb57c6af8fd102ab7165060a1ad3a638 /src | |
parent | c827d5eefc314ae022a79ca79c2029ab0fe5b898 (diff) | |
download | gnunet-1b728334b42c3a35cc391df73ed76e171e0bb128.tar.gz gnunet-1b728334b42c3a35cc391df73ed76e171e0bb128.zip |
RECLAIM: Update tests
Diffstat (limited to 'src')
-rwxr-xr-x | src/reclaim/test_reclaim_attribute.sh | 2 | ||||
-rwxr-xr-x | src/reclaim/test_reclaim_consume.sh | 4 | ||||
-rwxr-xr-x | src/reclaim/test_reclaim_issue.sh | 4 | ||||
-rwxr-xr-x | src/reclaim/test_reclaim_revoke.sh | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/reclaim/test_reclaim_attribute.sh b/src/reclaim/test_reclaim_attribute.sh index 39bd715b7..744c898ed 100755 --- a/src/reclaim/test_reclaim_attribute.sh +++ b/src/reclaim/test_reclaim_attribute.sh | |||
@@ -27,7 +27,7 @@ gnunet-arm -s -c test_reclaim.conf | |||
27 | #gnunet-arm -i rest -c test_reclaim.conf | 27 | #gnunet-arm -i rest -c test_reclaim.conf |
28 | gnunet-identity -C testego -c test_reclaim.conf | 28 | gnunet-identity -C testego -c test_reclaim.conf |
29 | gnunet-identity -C rpego -c test_reclaim.conf | 29 | gnunet-identity -C rpego -c test_reclaim.conf |
30 | TEST_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep testego | awk '{print $3}') | 30 | TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) |
31 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf | 31 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf |
32 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf > /dev/null 2>&1 | 32 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf > /dev/null 2>&1 |
33 | if test $? != 0 | 33 | if test $? != 0 |
diff --git a/src/reclaim/test_reclaim_consume.sh b/src/reclaim/test_reclaim_consume.sh index 36c8052d0..55f6ff22c 100755 --- a/src/reclaim/test_reclaim_consume.sh +++ b/src/reclaim/test_reclaim_consume.sh | |||
@@ -27,8 +27,8 @@ gnunet-arm -s -c test_reclaim.conf | |||
27 | #gnunet-arm -i rest -c test_reclaim.conf | 27 | #gnunet-arm -i rest -c test_reclaim.conf |
28 | gnunet-identity -C testego -c test_reclaim.conf | 28 | gnunet-identity -C testego -c test_reclaim.conf |
29 | gnunet-identity -C rpego -c test_reclaim.conf | 29 | gnunet-identity -C rpego -c test_reclaim.conf |
30 | SUBJECT_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep rpego | awk '{print $3}') | 30 | SUBJECT_KEY=$(gnunet-identity -d -e rpego -q -c test_reclaim.conf) |
31 | TEST_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep testego | awk '{print $3}') | 31 | TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) |
32 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf | 32 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf |
33 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf | 33 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf |
34 | TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') | 34 | TICKET=$(gnunet-reclaim -e testego -i "email,name" -r $SUBJECT_KEY -c test_reclaim.conf | awk '{print $1}') |
diff --git a/src/reclaim/test_reclaim_issue.sh b/src/reclaim/test_reclaim_issue.sh index 6a71470e1..7ab8a6980 100755 --- a/src/reclaim/test_reclaim_issue.sh +++ b/src/reclaim/test_reclaim_issue.sh | |||
@@ -27,8 +27,8 @@ gnunet-arm -s -c test_reclaim.conf | |||
27 | #gnunet-arm -i rest -c test_reclaim.conf | 27 | #gnunet-arm -i rest -c test_reclaim.conf |
28 | gnunet-identity -C testego -c test_reclaim.conf | 28 | gnunet-identity -C testego -c test_reclaim.conf |
29 | gnunet-identity -C rpego -c test_reclaim.conf | 29 | gnunet-identity -C rpego -c test_reclaim.conf |
30 | SUBJECT_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep rpego | awk '{print $3}') | 30 | SUBJECT_KEY=$(gnunet-identity -d -e rpego -q -c test_reclaim.conf) |
31 | TEST_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep testego | awk '{print $3}') | 31 | TEST_KEY=$(gnunet-identity -d -e testego -q -c test_reclaim.conf) |
32 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf > /dev/null 2>&1 | 32 | gnunet-reclaim -e testego -a email -V john@doe.gnu -c test_reclaim.conf > /dev/null 2>&1 |
33 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf > /dev/null 2>&1 | 33 | gnunet-reclaim -e testego -a name -V John -c test_reclaim.conf > /dev/null 2>&1 |
34 | #gnunet-reclaim -e testego -D -c test_reclaim.conf | 34 | #gnunet-reclaim -e testego -D -c test_reclaim.conf |
diff --git a/src/reclaim/test_reclaim_revoke.sh b/src/reclaim/test_reclaim_revoke.sh index b20a27d12..ffbc7ef2b 100755 --- a/src/reclaim/test_reclaim_revoke.sh +++ b/src/reclaim/test_reclaim_revoke.sh | |||
@@ -27,9 +27,9 @@ gnunet-arm -s -c test_reclaim.conf 2&>1 > /dev/null | |||
27 | gnunet-identity -C alice -c test_reclaim.conf | 27 | gnunet-identity -C alice -c test_reclaim.conf |
28 | gnunet-identity -C bob -c test_reclaim.conf | 28 | gnunet-identity -C bob -c test_reclaim.conf |
29 | gnunet-identity -C eve -c test_reclaim.conf | 29 | gnunet-identity -C eve -c test_reclaim.conf |
30 | ALICE_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep alice | awk '{print $3}') | 30 | ALICE_KEY=$(gnunet-identity -d -e alice -q -c test_reclaim.conf) |
31 | BOB_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep bob | awk '{print $3}') | 31 | BOB_KEY=$(gnunet-identity -d -e bob -q -c test_reclaim.conf) |
32 | EVE_KEY=$(gnunet-identity -d -c test_reclaim.conf | grep eve | awk '{print $3}') | 32 | EVE_KEY=$(gnunet-identity -d -e eve -q -c test_reclaim.conf) |
33 | gnunet-reclaim -e alice -E 15s -a email -V john@doe.gnu -c test_reclaim.conf | 33 | gnunet-reclaim -e alice -E 15s -a email -V john@doe.gnu -c test_reclaim.conf |
34 | gnunet-reclaim -e alice -E 15s -a name -V John -c test_reclaim.conf | 34 | gnunet-reclaim -e alice -E 15s -a name -V John -c test_reclaim.conf |
35 | TICKET_BOB=$(gnunet-reclaim -e alice -i "email,name" -r $BOB_KEY -c test_reclaim.conf | awk '{print $1}') | 35 | TICKET_BOB=$(gnunet-reclaim -e alice -i "email,name" -r $BOB_KEY -c test_reclaim.conf | awk '{print $1}') |