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

Jonathan Rajotte jonathan.rajotte-julien at efficios.com
Thu Jun 1 22:16:46 UTC 2017


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



More information about the lttng-dev mailing list