From: Mathieu Desnoyers Date: Fri, 19 Jul 2013 17:59:39 +0000 (-0400) Subject: Fix: tests: provide channel name when a non-default channel exists X-Git-Tag: v2.2.3~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d8b7d3cbdb54ccbc72329f1d0dee514390b94015;p=lttng-tools.git Fix: tests: provide channel name when a non-default channel exists Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/regression/ust/buffers-uid/test_buffers_uid b/tests/regression/ust/buffers-uid/test_buffers_uid index 6af675cfd..faeec037c 100755 --- a/tests/regression/ust/buffers-uid/test_buffers_uid +++ b/tests/regression/ust/buffers-uid/test_buffers_uid @@ -62,7 +62,7 @@ test_after_multiple_apps() { # BEFORE application is spawned create_lttng_session $SESSION_NAME $TRACE_PATH enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME for i in `seq 1 5`; do @@ -93,7 +93,7 @@ test_before_multiple_apps() { # BEFORE application is spawned create_lttng_session $SESSION_NAME $TRACE_PATH enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME # At least hit one event @@ -126,7 +126,7 @@ test_after_app() { # BEFORE application is spawned create_lttng_session $SESSION_NAME $TRACE_PATH enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT @@ -151,7 +151,7 @@ test_before_app() { # BEFORE application is spawned create_lttng_session $SESSION_NAME $TRACE_PATH enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME # At least hit one event diff --git a/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush b/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush index 03d83e314..efb9e6690 100755 --- a/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush +++ b/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush @@ -161,7 +161,7 @@ test_after_app_uid() { create_lttng_session $SESSION_NAME $TRACE_PATH enable_metadata_per_uid $SESSION_NAME enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT @@ -190,7 +190,7 @@ test_before_app_uid() { create_lttng_session $SESSION_NAME $TRACE_PATH enable_metadata_per_uid $SESSION_NAME enable_channel_per_uid $SESSION_NAME "channel0" - enable_ust_lttng_event $SESSION_NAME $EVENT_NAME + enable_ust_lttng_event $SESSION_NAME $EVENT_NAME "channel0" start_lttng_tracing $SESSION_NAME # At least hit one event