diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-12 13:00:52 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-12 13:00:52 -0600 |
commit | a6548ebe40145865aff925877d9ceabdc54c9b57 (patch) | |
tree | f70476b61622944d95edbd6e6b82edab7fcc8692 /libqcdm/tests | |
parent | 474d9136ba6b99cb8ec2dba54621b1ce2a69c144 (diff) |
qcdm: start filling out log messages and items
Log messages are enabled by LOG_CONFIG and are then reported
as unsolicited responses with code DM_CMD_LOG. Each log type
appears to have its own message format which are now being
added to log-items.h.
Diffstat (limited to 'libqcdm/tests')
-rw-r--r-- | libqcdm/tests/test-qcdm-com.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libqcdm/tests/test-qcdm-com.c b/libqcdm/tests/test-qcdm-com.c index e75703ec..3cdec5aa 100644 --- a/libqcdm/tests/test-qcdm-com.c +++ b/libqcdm/tests/test-qcdm-com.c @@ -1469,6 +1469,10 @@ test_com_log_config (void *f, void *data) g_assert (memcmp (reread_items, test_items, reread_len * sizeof (test_items[0])) == 0); qcdm_result_unref (result); + + /* Wait for a few log packets */ + for (i = 0; i < 5; i++) + reply_len = wait_reply (d, buf, sizeof (buf)); } void |