projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: main.cpp: iterate on list using list_iteration_adapter
[lttng-tools.git]
/
tests
/
unit
/
test_kernel_data.cpp
diff --git
a/tests/unit/test_kernel_data.cpp
b/tests/unit/test_kernel_data.cpp
index 3814daa6fae490aa34d4a86bd78196359c5ddbd7..2deaef72057050e4ea903f4e0c27864e4f78a892 100644
(file)
--- a/
tests/unit/test_kernel_data.cpp
+++ b/
tests/unit/test_kernel_data.cpp
@@
-104,7
+104,7
@@
static void test_create_kernel_channel()
return;
}
return;
}
- ok(chan->fd == -1 && chan->enabled
== 1
&& chan->stream_count == 0 &&
+ ok(chan->fd == -1 && chan->enabled && chan->stream_count == 0 &&
chan->channel->attr.overwrite == attr.attr.overwrite,
"Validate kernel channel");
chan->channel->attr.overwrite == attr.attr.overwrite,
"Validate kernel channel");
@@
-133,7
+133,7
@@
static void test_create_kernel_event()
return;
}
return;
}
- ok(event->fd == -1 && event->enabled
== 1
&&
+ ok(event->fd == -1 && event->enabled &&
event->event->instrumentation == LTTNG_KERNEL_ABI_TRACEPOINT &&
strlen(event->event->name),
"Validate kernel event");
event->event->instrumentation == LTTNG_KERNEL_ABI_TRACEPOINT &&
strlen(event->event->name),
"Validate kernel event");
This page took
0.02298 seconds
and
4
git commands to generate.