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>
Fri, 20 May 2016 20:40:47 +0000 (16:40 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_kernel_data.c

index b578740bf89f092094f43a16e15e4d1bbf5fd836..dd44e5c134ace596bdd42abae13784c4ea9996df 100644 (file)
@@ -135,7 +135,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.0265300000000001 seconds and 4 git commands to generate.