[lttng-dev] [PATCH lttng-tools] Fix: test: proper redirection of stderr to stdout

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Jun 12 22:16:25 UTC 2017


Merged in master and stable-2.10.

Thanks!
Jérémie

On 1 June 2017 at 18:16, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
>  tests/regression/tools/exclusion/test_exclusion | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/regression/tools/exclusion/test_exclusion b/tests/regression/tools/exclusion/test_exclusion
> index 2af9a93b..c155c25f 100755
> --- a/tests/regression/tools/exclusion/test_exclusion
> +++ b/tests/regression/tools/exclusion/test_exclusion
> @@ -79,7 +79,7 @@ function test_exclusion_fail
>         exclusions="$2"
>
>         create_lttng_session_ok $SESSION_NAME $trace_path
> -       $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-event -u "$event_name" -s $sess_name -x "$exclusions" 2&>1 >/dev/null
> +       $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-event -u "$event_name" -s $sess_name -x "$exclusions" >/dev/null 2>&1
>         res=$?
>         destroy_lttng_session_ok $SESSION_NAME
>
> --
> 2.11.0
>



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


More information about the lttng-dev mailing list