From 2fb231c047e483af94e4664c1316d7943aaa4c0e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 10 Nov 2023 16:36:27 -0500 Subject: [PATCH] tests/utils/utils.sh: gen_mctf_trace() -> bt_gen_mctf_trace() Adding the `bt_` prefix like other functions in `utils.sh`. Signed-off-by: Philippe Proulx Change-Id: I682317576133727155778a79fc6716a83697e18e --- tests/plugins/src.ctf.lttng-live/test-live.sh | 2 +- tests/utils/utils.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plugins/src.ctf.lttng-live/test-live.sh b/tests/plugins/src.ctf.lttng-live/test-live.sh index e488289b..4c904d2f 100755 --- a/tests/plugins/src.ctf.lttng-live/test-live.sh +++ b/tests/plugins/src.ctf.lttng-live/test-live.sh @@ -385,7 +385,7 @@ test_stored_values() { tmp_dir=$(mktemp -d -t 'test-stored-value.XXXXXXX') # Generate test trace. - gen_mctf_trace "${trace_dir}/live/stored-values.mctf" "$tmp_dir/stored-values" + bt_gen_mctf_trace "${trace_dir}/live/stored-values.mctf" "$tmp_dir/stored-values" run_test "$test_text" "$cli_args_template" "$expected_stdout" \ "$expected_stderr" "$tmp_dir" "${server_args[@]}" diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 59f5eca1..60e5d56e 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -475,7 +475,7 @@ bt_run_py_test() { # Generates a CTF trace into the directory `$2` from the moultipart # document `$1` using `mctf.py`. -gen_mctf_trace() { +bt_gen_mctf_trace() { local -r input_file=$1 local -r base_dir=$2 local -r cmd=( -- 2.34.1