cli: make --plugin-path and --omit-{system,home}-plugin-path global opts
[babeltrace.git] / tests / plugins / flt.utils.muxer / succeed / test_succeed
index 15691b59471ffa3f63cfa275b3a8f85fe1a00d6d..71b0c54e6407a8b745d64b911076dd6a53b995d4 100755 (executable)
@@ -23,7 +23,7 @@ SH_TAP=1
 if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then
        UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
 else
-       UTILSSH="$(dirname "$0")/../../utils/utils.sh"
+       UTILSSH="$(dirname "$0")/../../../utils/utils.sh"
 fi
 
 # shellcheck source=../../utils/utils.sh
@@ -37,11 +37,11 @@ function run_test
 {
        local test_name="$1"
        local local_args=(
+               "--plugin-path" "$data_dir"
                "-c" "src.test-muxer.TheSourceOfConfusion"
                "-p" "test-name=$test_name"
                "-c" "sink.text.details"
                "--params=compact=false,with-metadata=false"
-               "--plugin-path=$data_dir"
        )
 
        stdout_expected="$data_dir/succeed/$test_name.expect"
This page took 0.024055 seconds and 4 git commands to generate.