Tests: inverted condition in test_kernel_data
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 May 2016 05:35:44 +0000 (01:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 May 2016 05:35:44 +0000 (01:35 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_kernel_data.c

index fde46f76f35bd331cc7ad9f5a2d772f8cd96e7b3..5bca684a513d16bbc4b740dc061e2dca4b4cbc34 100644 (file)
@@ -134,7 +134,7 @@ static void test_create_kernel_event(void)
        struct lttng_event ev;
 
        memset(&ev, 0, sizeof(ev));
-       ok(lttng_strncpy(ev.name, get_random_string(),
+       ok(!lttng_strncpy(ev.name, get_random_string(),
                        LTTNG_KERNEL_SYM_NAME_LEN),
                "Validate string length");
        ev.type = LTTNG_EVENT_TRACEPOINT;
This page took 0.025467 seconds and 4 git commands to generate.