[lttng-dev] [PATCH lttng-tools] test: jul/log4j: use -a instead of '*' to disable all events

Jérémie Galarneau jeremie.galarneau at efficios.com
Wed Sep 23 13:15:07 EDT 2015


Merged, thanks!

Jérémie

On Tue, Sep 22, 2015 at 1:55 PM, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
>  tests/regression/ust/java-jul/test_java_jul     | 2 +-
>  tests/regression/ust/java-log4j/test_java_log4j | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/regression/ust/java-jul/test_java_jul b/tests/regression/ust/java-jul/test_java_jul
> index f9f244b..b3f9b51 100755
> --- a/tests/regression/ust/java-jul/test_java_jul
> +++ b/tests/regression/ust/java-jul/test_java_jul
> @@ -347,7 +347,7 @@ function test_jul_disable_all()
>         enable_jul_lttng_event $SESSION_NAME $EVENT_NAME
>         enable_jul_lttng_event $SESSION_NAME $EVENT_NAME2
>
> -       disable_jul_lttng_event $SESSION_NAME '*'
> +       disable_jul_lttng_event $SESSION_NAME -a
>
>         start_lttng_tracing_ok $SESSION_NAME
>
> diff --git a/tests/regression/ust/java-log4j/test_java_log4j b/tests/regression/ust/java-log4j/test_java_log4j
> index d5c6621..5c0f03d 100755
> --- a/tests/regression/ust/java-log4j/test_java_log4j
> +++ b/tests/regression/ust/java-log4j/test_java_log4j
> @@ -348,7 +348,7 @@ function test_log4j_disable_all()
>         enable_log4j_lttng_event $SESSION_NAME $EVENT_NAME
>         enable_log4j_lttng_event $SESSION_NAME $EVENT_NAME2
>
> -       disable_log4j_lttng_event $SESSION_NAME '*'
> +       disable_log4j_lttng_event $SESSION_NAME -a
>
>         start_lttng_tracing_ok $SESSION_NAME
>
> --
> 2.1.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list