From 568f4bd1cdb5bbc78f05df98d0b0a36b7da31b93 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 9 Nov 2023 23:25:55 -0500 Subject: [PATCH] tests/utils/utils.sh: bt_diff_details_ctf_single(): remove unneeded `expected_stderr_file` var. Signed-off-by: Philippe Proulx Change-Id: I565c108061b223404ab51bc5a2a0ad6da08fe7d5 --- tests/utils/utils.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index af500b96..49750128 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -308,10 +308,9 @@ bt_diff_details_ctf_single() { local -r trace_dir="$2" shift 2 local -r extra_details_args=("$@") - expected_stderr_file="/dev/null" # Compare using the CLI with `sink.text.details` - bt_diff_cli "$expected_stdout_file" "$expected_stderr_file" "$trace_dir" \ + bt_diff_cli "$expected_stdout_file" /dev/null "$trace_dir" \ "-c" "sink.text.details" "${extra_details_args[@]+${extra_details_args[@]}}" } -- 2.34.1