conversation list bundle reading and writing now seems to work.

This commit is contained in:
gardners 2013-05-15 13:53:00 +09:30
parent 6974aaac33
commit 1c4ce3ffa3
2 changed files with 2 additions and 1 deletions

View File

@ -712,7 +712,7 @@ int app_meshms_list_conversations(const struct cli_parsed *parsed, void *context
if (j<sizeof(conversation_log[i].recipient_sid)) {
tohex(recipient_sid_hex,conversation_log[i].recipient_sid,
sizeof(conversation_log[i].recipient_sid));
cli_put_string(sid, ":");
cli_put_string(sid, ".");
cli_put_string(recipient_sid_hex, "\n");
}
}

View File

@ -116,6 +116,7 @@ test_qsoList() {
executeOk_servald meshms list conversations $SIDA1
assertStdoutGrep --stdout --stderr --matches=1 '^'$SIDA1':'$SIDA2'$'
assertStdoutGrep --stdout --stderr --matches=0 '^'$SIDA2':'$SIDA1'$'
tfw_cat --stdout --stderr
executeOk_servald meshms list conversations $SIDA2
assertStdoutGrep --stdout --stderr --matches=0 '^'${SIDA1}':'${SIDA2}'$'
assertStdoutGrep --stdout --stderr --matches=1 '^'${SIDA2}':'${SIDA1}'$'