summaryrefslogtreecommitdiff
path: root/src/credential/test_credential_bi_and2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/test_credential_bi_and2.sh')
-rwxr-xr-xsrc/credential/test_credential_bi_and2.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/credential/test_credential_bi_and2.sh b/src/credential/test_credential_bi_and2.sh
index de3e718aa..19354d3fe 100755
--- a/src/credential/test_credential_bi_and2.sh
+++ b/src/credential/test_credential_bi_and2.sh
@@ -67,20 +67,17 @@ gnunet-namestore -D -z h
67# Starting to resolve 67# Starting to resolve
68echo "+++ Starting to Resolve +++" 68echo "+++ Starting to Resolve +++"
69 69
70DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f -c test_credential_lookup.conf | paste -d, -s` 70DELS=`$DO_TIMEOUT gnunet-credential --collect --issuer=$AKEY --attribute="a" --ego=f -c test_credential_lookup.conf | paste -d, -s - -`
71echo $DELS 71echo $DELS
72echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' -c test_credential_lookup.conf 72echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' -c test_credential_lookup.conf
73RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" -c test_credential_lookup.conf` 73RES_DELS=`gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" -c test_credential_lookup.conf`
74 74
75# Cleanup properly 75# Cleanup properly
76gnunet-namestore -z epub -d -n $DISC_ATTR -t ATTR -c test_credential_lookup.conf 76gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf
77gnunet-namestore -z eorg -d -n $PREF_ATTR -t ATTR -c test_credential_lookup.conf 77gnunet-namestore -z b -d -n "b" -t ATTR -c test_credential_lookup.conf
78gnunet-namestore -z stateu -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 78gnunet-namestore -z d -d -n "@" -t DEL -c test_credential_lookup.conf
79#gnunet-namestore -z a -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 79gnunet-namestore -z e -d -n "@" -t DEL -c test_credential_lookup.conf
80#gnunet-namestore -z d -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf 80gnunet-namestore -z f -d -n "@" -t DEL -c test_credential_lookup.conf
81#gnunet-namestore -z e -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
82#gnunet-namestore -z f -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
83#gnunet-namestore -z g -d -n $STATE_STUD_ATTR -t ATTR -c test_credential_lookup.conf
84 81
85gnunet-arm -e -c test_credential_lookup.conf 82gnunet-arm -e -c test_credential_lookup.conf
86 83