[lttng-dev] [PATCH lttng-tools] Test: use output_path instead of argument position

Jérémie Galarneau jeremie.galarneau at efficios.com
Sat May 6 19:48:44 UTC 2017


Merged, thanks!

Jérémie

On 5 April 2017 at 10:53, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
>  tests/regression/tools/mi/test_mi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/regression/tools/mi/test_mi b/tests/regression/tools/mi/test_mi
> index 380385f..0d3bd4f 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"
>
>  }
> --
> 2.7.4
>



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


More information about the lttng-dev mailing list