cli: make --plugin-path and --omit-{system,home}-plugin-path global opts
[babeltrace.git] / tests / cli / convert / test_auto_source_discovery_params
index 0112365899d43314065a5ff52bb07dbbd8c3fc72..3619a31eec29eb55a330881461321aee33a86075 100755 (executable)
@@ -64,7 +64,7 @@ Stream end
 END
 
 bt_diff_cli "$expected_file" "/dev/null" \
-       convert --plugin-path "${plugin_dir}" \
+       --plugin-path "${plugin_dir}" convert \
        "${dir_ab}" --params 'test-allo="madame"' ${print_test_params} \
        ${details_sink[@]}
 ok "$?" "apply params to two components from one non-option argument"
@@ -91,7 +91,7 @@ Stream end
 END
 
 bt_diff_cli "$expected_file" "/dev/null" \
-       convert --plugin-path "${plugin_dir}" \
+       --plugin-path "${plugin_dir}" convert \
        "${dir_a}" --params 'test-allo="madame"' ${print_test_params} "${dir_b}" --params 'test-bonjour="monsieur"' ${print_test_params} \
        ${details_sink[@]}
 ok "$?" "apply params to two non-option arguments"
@@ -118,7 +118,7 @@ Stream end
 END
 
 bt_diff_cli "$expected_file" "/dev/null" \
-       convert --plugin-path "${plugin_dir}" \
+       --plugin-path "${plugin_dir}" convert \
        "${dir_a}" --params 'test-allo="madame"' ${print_test_params} "${dir_ab}" --params 'test-bonjour="monsieur"' ${print_test_params} \
        ${details_sink[@]}
 ok "$?" "apply params to one component coming from one non-option argument and one component coming from two non-option arguments (1)"
@@ -145,7 +145,7 @@ Stream end
 END
 
 bt_diff_cli "$expected_file" "/dev/null" \
-       convert --plugin-path "${plugin_dir}" \
+       --plugin-path "${plugin_dir}" convert \
        "${dir_ab}" --params 'test-bonjour="madame",test-salut="les amis"' ${print_test_params} "${dir_a}" --params 'test-bonjour="monsieur"' ${print_test_params} \
        ${details_sink[@]}
 ok "$?" "apply params to one component coming from one non-option argument and one component coming from two non-option arguments (2)"
This page took 0.02419 seconds and 4 git commands to generate.