From 3099a7c25cf6b11b0f1909e5a2651d65c0e921c7 Mon Sep 17 00:00:00 2001 From: Andreas Ebner Date: Fri, 20 Sep 2019 10:49:02 +0200 Subject: 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) --- src/credential/test_credential_bi_and.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/credential/test_credential_bi_and.sh') diff --git a/src/credential/test_credential_bi_and.sh b/src/credential/test_credential_bi_and.sh index 66f0b29f2..a7ed3ce1a 100755 --- a/src/credential/test_credential_bi_and.sh +++ b/src/credential/test_credential_bi_and.sh @@ -75,7 +75,7 @@ echo $DELS echo gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate=\'$DELS\' --forward --backward -c test_credential_lookup.conf gnunet-credential --verify --issuer=$AKEY --attribute="a" --subject=$FKEY --delegate="$DELS" --forward --backward -c test_credential_lookup.conf -RES = $? +RES=$? # Cleanup properly gnunet-namestore -z a -d -n "a" -t ATTR -c test_credential_lookup.conf @@ -87,7 +87,7 @@ gnunet-namestore -z f -d -n "@" -t DEL -c test_credential_lookup.conf gnunet-arm -e -c test_credential_lookup.conf -if [ $RES == 0 ] +if [ "$RES" == 0 ] then exit 0 else -- cgit v1.2.3