diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 14:37:56 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 14:37:56 +0100 |
commit | f72ffa1a93532ef05518e697102519757ef22bfc (patch) | |
tree | 8308e099875a62d18512dabaf64a6def00b83eac /src/reclaim | |
parent | 336acc33010eb725c873791ed6eb9039cb1aedd2 (diff) | |
download | gnunet-f72ffa1a93532ef05518e697102519757ef22bfc.tar.gz gnunet-f72ffa1a93532ef05518e697102519757ef22bfc.zip |
GNS: Allow lowercase and uppercase
According to LSD0001, atm lowercase and uppercase names
are allowed and different.
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/test_reclaim.conf | 2 | ||||
-rwxr-xr-x | src/reclaim/test_reclaim_consume.sh | 14 |
2 files changed, 9 insertions, 7 deletions
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] |
17 | START_ON_DEMAND = YES | 17 | START_ON_DEMAND = YES |
18 | TICKET_REFRESH_INTERVAL = 15s | 18 | TICKET_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) | |||
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}') |
35 | gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf >/dev/null 2>&1 | 35 | gnunet-reclaim -e rpego -C $TICKET -c test_reclaim.conf #>/dev/null 2>&1 |
36 | 36 | ||
37 | if test $? != 0 | 37 | RES=$? |
38 | gnunet-identity -D testego -c test_reclaim.conf | ||
39 | gnunet-identity -D rpego -c test_reclaim.conf | ||
40 | gnunet-arm -e -c test_reclaim.conf | ||
41 | if test $RES != 0 | ||
38 | then | 42 | then |
39 | "Failed." | 43 | echo "Failed." |
40 | exit 1 | ||
41 | fi | 44 | fi |
42 | #curl http://localhost:7776/reclaim/tickets/testego | 45 | |
43 | gnunet-arm -e -c test_reclaim.conf | ||