diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2016-12-14 07:52:23 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2016-12-14 07:52:23 +0100 |
commit | 80bdda1c79efb648cb56bdfb63da0c2c0db3ff45 (patch) | |
tree | 6b6b99779062dbe1325974acb5c4ea19b78e63e8 /src/credential/test_credential_verify.sh | |
parent | 12a3d957faa3932db31ffea0497dd083fd381b86 (diff) | |
download | gnunet-80bdda1c79efb648cb56bdfb63da0c2c0db3ff45.tar.gz gnunet-80bdda1c79efb648cb56bdfb63da0c2c0db3ff45.zip |
-add serializer
Diffstat (limited to 'src/credential/test_credential_verify.sh')
-rwxr-xr-x | src/credential/test_credential_verify.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/credential/test_credential_verify.sh b/src/credential/test_credential_verify.sh index 3b76d20e5..012341f5f 100755 --- a/src/credential/test_credential_verify.sh +++ b/src/credential/test_credential_verify.sh | |||
@@ -67,10 +67,11 @@ gnunet-namestore -z gnunet -d -n $MEMBER_ATTR -t ATTR -c test_credential_lookup. | |||
67 | gnunet-namestore -z service -d -n $USER_ATTR -t ATTR -c test_credential_lookup.conf | 67 | gnunet-namestore -z service -d -n $USER_ATTR -t ATTR -c test_credential_lookup.conf |
68 | gnunet-arm -e -c test_credential_lookup.conf | 68 | gnunet-arm -e -c test_credential_lookup.conf |
69 | 69 | ||
70 | if [ "$RES_CRED" == "Successful." ] | 70 | if [ "$RES_CRED" != "Failed." ] |
71 | then | 71 | then |
72 | echo $RES_CRED | ||
72 | exit 0 | 73 | exit 0 |
73 | else | 74 | else |
74 | echo "FAIL: Failed to verify credential $RES_IP." | 75 | echo "FAIL: Failed to verify credential $RES_CRED." |
75 | exit 1 | 76 | exit 1 |
76 | fi | 77 | fi |