Tests: fix misleading comment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Feb 2015 20:51:49 +0000 (15:51 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Feb 2015 20:52:10 +0000 (15:52 -0500)
The test only validates that the event header's default field are
as documented in the API's documentation.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test_ctf_writer.c

index a938a9d719d4bebbd60f19153d6fbef3caca72e2..cd92986b3fd99ee1a278bdc551421f8750ffd425 100644 (file)
@@ -1789,7 +1789,7 @@ int main(int argc, char **argv)
        ok(bt_ctf_stream_class_get_id(stream_class) == 123,
                "bt_ctf_stream_class_get_id returns the correct value");
 
-       /* Add a custom event header field */
+       /* Validate default event header fields */
        ok(bt_ctf_stream_class_get_event_header_type(NULL) == NULL,
                "bt_ctf_stream_class_get_event_header_type handles NULL correctly");
        ret_field_type = bt_ctf_stream_class_get_event_header_type(
This page took 0.029826 seconds and 4 git commands to generate.