diff options
author | Andreas Ebner <a.e.bner@web.de> | 2019-09-20 10:49:02 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:18:20 +0200 |
commit | 3099a7c25cf6b11b0f1909e5a2651d65c0e921c7 (patch) | |
tree | c8f10fe3551b35e40d6adcb5e1c68771a12a104e /src/credential/test_credential_bi_bw.sh | |
parent | 5be14856a356b087ad97b479efd9b06172fdfd2f (diff) | |
download | gnunet-3099a7c25cf6b11b0f1909e5a2651d65c0e921c7.tar.gz gnunet-3099a7c25cf6b11b0f1909e5a2651d65c0e921c7.zip |
Cleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:
- removed and/or implemented all remaining TODOs
- fixed a bug in cleanup_handle() which caused to not cleanup correctly when a solution was prematurely found
- delegation_chain_bw/fw_resolution_start() not has a return value to indicate whether a solution was prematurely found
- cleaned up the test_... files (an additional cleanup commit might follow)
Diffstat (limited to 'src/credential/test_credential_bi_bw.sh')
-rwxr-xr-x | src/credential/test_credential_bi_bw.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/credential/test_credential_bi_bw.sh b/src/credential/test_credential_bi_bw.sh index eedcea7eb..3a2043db6 100755 --- a/src/credential/test_credential_bi_bw.sh +++ b/src/credential/test_credential_bi_bw.sh | |||
@@ -66,7 +66,7 @@ echo $DELS | |||
66 | echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf | 66 | echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf |
67 | gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf | 67 | gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf |
68 | 68 | ||
69 | RES = $? | 69 | RES=$? |
70 | 70 | ||
71 | # Cleanup properly | 71 | # Cleanup properly |
72 | gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf | 72 | gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf |
@@ -77,7 +77,7 @@ gnunet-namestore -z f -d -n "@" -t DEL -c test_credential_lookup.conf | |||
77 | 77 | ||
78 | gnunet-arm -e -c test_credential_lookup.conf | 78 | gnunet-arm -e -c test_credential_lookup.conf |
79 | 79 | ||
80 | if [ $RES == 0 ] | 80 | if [ "$RES" == 0 ] |
81 | then | 81 | then |
82 | exit 0 | 82 | exit 0 |
83 | else | 83 | else |