Mi: mi backend + mi for command version
[lttng-tools.git] / tests / unit / test_kernel_data.c
index 16d4f7b3991de7d980e2689c3a14571e10a1ac63..ca53c7d4853195d67aac1bd0ea673b640fb47f6a 100644 (file)
 /* Number of TAP tests in this file */
 #define NUM_TESTS 10
 
-/* For lttngerr.h */
+/* For error.h */
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose;
+int lttng_opt_mi;
 
 int ust_consumerd32_fd;
 int ust_consumerd64_fd;
@@ -120,7 +121,6 @@ static void test_create_kernel_channel(void)
        ok(chan->fd == -1 &&
           chan->enabled == 1 &&
           chan->stream_count == 0 &&
-          chan->ctx == NULL &&
           chan->channel->attr.overwrite  == attr.attr.overwrite,
           "Validate kernel channel");
 
This page took 0.027143 seconds and 5 git commands to generate.