Tests: add trigger name/unnamed backwards compatibility test
[lttng-tools.git] / tests / regression / tools / trigger / name / test_trigger_name_backwards_compat
diff --git a/tests/regression/tools/trigger/name/test_trigger_name_backwards_compat b/tests/regression/tools/trigger/name/test_trigger_name_backwards_compat
new file mode 100755 (executable)
index 0000000..fbb7553
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+#
+# Copyright (C) 2021 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+#
+# SPDX-License-Identifier: LGPL-2.1-only
+
+TEST_DESC="Triggers - Backwards compatibility nameless triggers"
+
+CURDIR=$(dirname "$0")/
+TESTDIR=${CURDIR}/../../../..
+
+# shellcheck source=../../../../utils/utils.sh
+source "$TESTDIR/utils/utils.sh"
+
+TRIGGER_NAME_BIN="$CURDIR/trigger_name"
+
+ # MUST set TESTDIR before calling those functions
+
+start_lttng_sessiond_notap
+
+$TRIGGER_NAME_BIN
+
+stop_lttng_sessiond_notap
This page took 0.023606 seconds and 4 git commands to generate.