From c0c76f36c74a94c42f3c56027c5a8c5299a113e2 Mon Sep 17 00:00:00 2001 From: Erica Bugden Date: Mon, 8 Jul 2024 11:42:13 -0400 Subject: [PATCH] Clean-up: Test list triggers: Remove unused tmp variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The variables can be removed since the functions that compare the actual and expected output for these tests, `list_triggers_matches_ok` and `list_triggers_matches_mi_ok` define `tmp_stdout` and `tmp_stderr` variables locally. Change-Id: Ifa54a4034f4b6ed6ed0a1676f7c9e36d1c9affc6 Signed-off-by: Erica Bugden Signed-off-by: Jérémie Galarneau --- tests/regression/tools/trigger/test_list_triggers_cli | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/regression/tools/trigger/test_list_triggers_cli b/tests/regression/tools/trigger/test_list_triggers_cli index b99288471..b6f05f12c 100755 --- a/tests/regression/tools/trigger/test_list_triggers_cli +++ b/tests/regression/tools/trigger/test_list_triggers_cli @@ -27,8 +27,6 @@ NUM_TESTS=150 FULL_LTTNG_BIN="${TESTDIR}/../src/bin/lttng/${LTTNG_BIN}" -tmp_stdout=$(mktemp -t test_list_triggers_cli_stdout.XXXXXX) -tmp_stderr=$(mktemp -t test_list_triggers_cli_stderr.XXXXXX) tmp_expected_stdout=$(mktemp -t test_list_triggers_cli_expected_stdout.XXXXXX) tmp_expected_stdout_mi=$(mktemp -t test_list_triggers_cli_expected_stdout.mi.XXXXXX) uprobe_elf_binary=$(realpath "${TESTDIR}/utils/testapp/userspace-probe-elf-binary/.libs/userspace-probe-elf-binary") @@ -2700,6 +2698,4 @@ test_notify_action stop_lttng_sessiond_notap # Cleanup -rm -f "${tmp_stdout}" -rm -f "${tmp_stderr}" rm -f "${tmp_expected_stdout}" -- 2.39.5