Fix: ctf-testsuite variant-missing-fields
[babeltrace.git] / tests / lib / test_bt_ctf_field_type_validation.c
index dd1ed7b6cd58ecc1e4defe8a248b89d49f75841d..7e4a7eed8d9f1c27d007b81a7a303a2579cc1352 100644 (file)
@@ -2070,9 +2070,6 @@ void test_pass(void)
 
        trace = bt_ctf_trace_create();
        assert(trace);
-       ret = bt_ctf_trace_set_native_byte_order(trace,
-               BT_CTF_BYTE_ORDER_LITTLE_ENDIAN);
-       assert(ret == 0);
        sc = bt_ctf_stream_class_create("nice_piece_of_stream_class");
        assert(sc);
        ec = bt_ctf_event_class_create("oh_what_an_event_class");
@@ -2871,7 +2868,7 @@ void test_fail_variant_tag_mismatch_mappings(void)
        ep = test_fail_variant_tag_mismatch_mappings_get_ep();
        assert(ep);
        event = create_event_with_context_and_payload(NULL, ep);
-       ok(!event, "Variant FT with mismatching tag FT is invalid");
+       ok(event, "Variant FT with mismatching tag FT is valid");
 
        BT_PUT(ep);
        BT_PUT(event);
This page took 0.023454 seconds and 4 git commands to generate.