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 19:24:05 +0000 (15:24 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_kernel_data.c

index eccb7d848f1558b645f777daa2a33afb56e2c4b5..0bae53ae768c924f0bd56c1dbd7ef1b191198201 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.026644 seconds and 4 git commands to generate.