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