Fix: change default channel values in unit test
authorDavid Goulet <dgoulet@efficios.com>
Mon, 11 Mar 2013 14:51:03 +0000 (10:51 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 11 Mar 2013 14:51:03 +0000 (10:51 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/tools/test_kernel_data_trace.c
tests/tools/test_ust_data_trace.c

index 70d71cadb2e280185a0eafdc3e1323c26609434c..db2064e226f120c935dd912cc1b20ce2e0822d5d 100644 (file)
@@ -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();
index 74f282bbb85c8497d3ee302ac9ac706dbb148db8..0a793452f41ade1aedcb182b26594f837b500097 100644 (file)
@@ -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();
 
This page took 0.024934 seconds and 4 git commands to generate.