diff options
Diffstat (limited to 'src/identity/test_identity_messages.sh')
-rwxr-xr-x | src/identity/test_identity_messages.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/identity/test_identity_messages.sh b/src/identity/test_identity_messages.sh index 250c6a6f1..daecb1ed2 100755 --- a/src/identity/test_identity_messages.sh +++ b/src/identity/test_identity_messages.sh | |||
@@ -23,12 +23,12 @@ gnunet-identity -C recipientego -c test_identity.conf | |||
23 | RECIPIENT_KEY=$(gnunet-identity -d -e recipientego -q -c test_identity.conf) | 23 | RECIPIENT_KEY=$(gnunet-identity -d -e recipientego -q -c test_identity.conf) |
24 | MSG_ENC=$(gnunet-identity -W "$TEST_MSG" -k $RECIPIENT_KEY -c test_identity.conf) | 24 | MSG_ENC=$(gnunet-identity -W "$TEST_MSG" -k $RECIPIENT_KEY -c test_identity.conf) |
25 | MSG_DEC=$(gnunet-identity -R "$MSG_ENC" -e recipientego -c test_identity.conf) | 25 | MSG_DEC=$(gnunet-identity -R "$MSG_ENC" -e recipientego -c test_identity.conf) |
26 | 26 | gnunet-identity -D recipientego -c test_identity.conf | |
27 | if test "$TEST_MSG" != "$MSG_DEC" | 27 | gnunet-arm -e -c test_identity.conf |
28 | if [ "$TEST_MSG" != "$MSG_DEC" ] | ||
28 | then | 29 | then |
29 | echo "Failed - $TEST_MSG != $MSG_DEC" | 30 | echo "Failed - $TEST_MSG != $MSG_DEC" |
30 | exit 1 | 31 | exit 1 |
31 | fi | 32 | fi |
32 | 33 | ||
33 | gnunet-identity -D recipientego -c test_identity.conf | 34 | |
34 | gnunet-arm -e -c test_identity.conf | ||