]> git.liburcu.org Git - lttng-tools.git/commitdiff
Clean-up: Test list triggers: Remove unused tmp variables
authorErica Bugden <ebugden@efficios.com>
Mon, 8 Jul 2024 15:42:13 +0000 (11:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Jan 2025 20:51:37 +0000 (20:51 +0000)
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 <ebugden@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/trigger/test_list_triggers_cli

index b99288471d92b8ee5b446ea63143887ae2c61b75..b6f05f12cb796a29042eca4ae2571ccfe553cadc 100755 (executable)
@@ -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}"
This page took 0.030465 seconds and 4 git commands to generate.