test_ctf_writer.c: do not check for invalid event class name
[babeltrace.git] / tests / lib / test_ctf_writer.c
index a7a55b949db0ccb9b867ada31d23e2d4fd0c17a9..9eed82f42014e800fbe45f91237a8d7e160809bc 100644 (file)
@@ -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, ""),
This page took 0.023526 seconds and 4 git commands to generate.