Tests: move `list_triggers_matches_ok` to utils.sh
[lttng-tools.git] / tests / regression / tools / trigger / test_list_triggers_cli
index 1ca35356ec9aa99b00d503062bb29fd20110ac8e..7a6050fc861c32f49722231ed99360d881b30190 100755 (executable)
@@ -51,21 +51,6 @@ else
 fi
 
 
-function list_triggers_matches_ok ()
-{
-       local test_name="$1"
-       local expected_stdout_file="$2"
-
-       "${FULL_LTTNG_BIN}" list-triggers > "${tmp_stdout}" 2> "${tmp_stderr}"
-       ok $? "${test_name}: exit code is 0"
-
-       diff -u "${expected_stdout_file}" "${tmp_stdout}"
-       ok $? "${test_name}: expected stdout"
-
-       diff -u /dev/null "${tmp_stderr}"
-       ok $? "${test_name}: expected stderr"
-}
-
 test_top_level_options ()
 {
        diag "Listing top level options"
This page took 0.024369 seconds and 4 git commands to generate.