Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
exclusions="$2"
create_lttng_session_ok $SESSION_NAME $trace_path
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
res=$?
destroy_lttng_session_ok $SESSION_NAME