projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Missing rcu_read_lock in cmd_snapshot_list_outputs()
[lttng-tools.git]
/
tests
/
unit
/
test_kernel_data.c
diff --git
a/tests/unit/test_kernel_data.c
b/tests/unit/test_kernel_data.c
index 0b4bb08c948c4ac375ef9765b94705aef5ccfa24..5b82672d73206d5045dfd35a8d9c097b29238857 100644
(file)
--- a/
tests/unit/test_kernel_data.c
+++ b/
tests/unit/test_kernel_data.c
@@
-35,7
+35,7
@@
/* Number of TAP tests in this file */
#define NUM_TESTS 10
/* Number of TAP tests in this file */
#define NUM_TESTS 10
-/* For
lttnger
r.h */
+/* For
erro
r.h */
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
@@
-79,9
+79,6
@@
static void test_create_one_kernel_session(void)
kern->stream_count_global == 0 &&
kern->metadata == NULL,
"Validate kernel session");
kern->stream_count_global == 0 &&
kern->metadata == NULL,
"Validate kernel session");
-
- /* Init list in order to avoid sefaults from cds_list_del */
- trace_kernel_destroy_session(kern);
}
static void test_create_kernel_metadata(void)
}
static void test_create_kernel_metadata(void)
@@
-123,7
+120,6
@@
static void test_create_kernel_channel(void)
ok(chan->fd == -1 &&
chan->enabled == 1 &&
chan->stream_count == 0 &&
ok(chan->fd == -1 &&
chan->enabled == 1 &&
chan->stream_count == 0 &&
- chan->ctx == NULL &&
chan->channel->attr.overwrite == attr.attr.overwrite,
"Validate kernel channel");
chan->channel->attr.overwrite == attr.attr.overwrite,
"Validate kernel channel");
This page took
0.031349 seconds
and
4
git commands to generate.