From: Philippe Proulx Date: Thu, 15 Jun 2017 20:32:38 +0000 (-0400) Subject: test_ctf_writer.c: do not check for invalid event class name X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=e72e86b2fffafd92c24cdf7d112c2b10ccc9768b test_ctf_writer.c: do not check for invalid event class name All event class names are valid. This is an old limitation. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index a7a55b94..9eed82f4 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -61,7 +61,7 @@ #define DEFAULT_CLOCK_TIME 0 #define DEFAULT_CLOCK_VALUE 0 -#define NR_TESTS 634 +#define NR_TESTS 633 static int64_t current_time = 42; @@ -783,8 +783,6 @@ void append_complex_event(struct bt_ctf_stream_class *stream_class, inner_structure_type, "inner_structure"), "Add inner_structure field to complex structure"); - ok(bt_ctf_event_class_create("clock") == NULL, - "Reject creation of an event class with an illegal name"); event_class = bt_ctf_event_class_create(complex_test_event_string); ok(event_class, "Create an event class"); ok(bt_ctf_event_class_add_field(event_class, uint_35_type, ""),