From: Jonathan Rajotte Date: Thu, 1 Jun 2017 22:16:46 +0000 (-0400) Subject: Fix: test: proper redirection of stderr to stdout X-Git-Tag: v2.11.0-rc1~530 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6efba07648a0ba9c702db8630afb02b08482f8e6;p=lttng-tools.git Fix: test: proper redirection of stderr to stdout Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/exclusion/test_exclusion b/tests/regression/tools/exclusion/test_exclusion index 2af9a93b9..c155c25f6 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