Test: use output_path instead of argument position
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 5 Apr 2017 14:53:41 +0000 (10:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 18:22:03 +0000 (14:22 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/mi/test_mi

index 380385fa958481e5ae37db88e989e1526cb1fe93..0d3bd4f6d5d853da1e7ffbfd7cc05d35c7b33dcf 100755 (executable)
@@ -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"
 
 }
This page took 0.026806 seconds and 5 git commands to generate.