From: Jonathan Rajotte Date: Wed, 5 Apr 2017 14:53:41 +0000 (-0400) Subject: Test: use output_path instead of argument position X-Git-Tag: v2.10.0-rc1~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=047adf91af8b50ad10dc6ca6f7d2e1024bcb6c73;p=lttng-tools.git Test: use output_path instead of argument position Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/mi/test_mi b/tests/regression/tools/mi/test_mi index 380385fa9..0d3bd4f6d 100755 --- a/tests/regression/tools/mi/test_mi +++ b/tests/regression/tools/mi/test_mi @@ -132,10 +132,10 @@ function is_command_success () function mi_print_version () { - local opt=$2 local output_path=$1 + local opt=$2 - $LTTNG version $opt > $1 + $LTTNG version $opt > $output_path ok $? "MI test: Lttng version" }