From: David Goulet Date: Mon, 11 Mar 2013 14:51:03 +0000 (-0400) Subject: Fix: change default channel values in unit test X-Git-Tag: v2.2.0-rc1~62 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fb755508453783f1c6ebdebf653cdb4d29c942e7;p=lttng-tools.git Fix: change default channel values in unit test Signed-off-by: David Goulet --- diff --git a/tests/tools/test_kernel_data_trace.c b/tests/tools/test_kernel_data_trace.c index 70d71cadb..db2064e22 100644 --- a/tests/tools/test_kernel_data_trace.c +++ b/tests/tools/test_kernel_data_trace.c @@ -103,9 +103,9 @@ static void create_kernel_metadata(void) assert(kern->metadata->conf->attr.num_subbuf == DEFAULT_METADATA_SUBBUF_NUM); assert(kern->metadata->conf->attr.switch_timer_interval - == DEFAULT_CHANNEL_SWITCH_TIMER); + == DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER); assert(kern->metadata->conf->attr.read_timer_interval - == DEFAULT_CHANNEL_READ_TIMER); + == DEFAULT_KERNEL_CHANNEL_READ_TIMER); assert(kern->metadata->conf->attr.output == DEFAULT_KERNEL_CHANNEL_OUTPUT); PRINT_OK(); diff --git a/tests/tools/test_ust_data_trace.c b/tests/tools/test_ust_data_trace.c index 74f282bbb..0a793452f 100644 --- a/tests/tools/test_ust_data_trace.c +++ b/tests/tools/test_ust_data_trace.c @@ -111,9 +111,9 @@ static void create_ust_metadata(void) assert(metadata->attr.num_subbuf == DEFAULT_METADATA_SUBBUF_NUM); assert(metadata->attr.switch_timer_interval - == DEFAULT_CHANNEL_SWITCH_TIMER); + == DEFAULT_UST_CHANNEL_SWITCH_TIMER); assert(metadata->attr.read_timer_interval - == DEFAULT_CHANNEL_READ_TIMER); + == DEFAULT_UST_CHANNEL_READ_TIMER); assert(metadata->attr.output == LTTNG_UST_MMAP); PRINT_OK();