3 # SPDX-License-Identifier: GPL-2.0-only
5 # Copyright (C) 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
8 # This file tests what happens when we mux messages.
12 if [ -n "${BT_TESTS_SRCDIR:-}" ]; then
13 UTILSSH
="$BT_TESTS_SRCDIR/utils/utils.sh"
15 UTILSSH
="$(dirname "$0")/../../../utils/utils.sh"
18 # shellcheck source=../../../utils/utils.sh
21 data_dir
="$BT_TESTS_DATADIR/plugins/flt.utils.muxer"
29 "--plugin-path" "$data_dir"
30 "-c" "src.test-muxer.TheSourceOfConfusion"
31 "-p" "test-name=$test_name"
32 "-c" "sink.text.details"
33 "--params=compact=false,with-metadata=false"
36 stdout_expected
="$data_dir/succeed/$test_name.expect"
37 bt_diff_cli
"$stdout_expected" /dev
/null
"${local_args[@]}"
43 basic_timestamp_ordering
46 diff_inactivity_msg_cs
48 diff_stream_class_name
49 diff_stream_class_no_name
57 for i
in "${test_cases[@]}"