Commit | Line | Data |
---|---|---|
2d0e6286 JG |
1 | #!/bin/bash |
2 | # | |
3 | # Copyright (C) 2021 Jérémie Galarneau <jeremie.galarneau@efficios.com> | |
4 | # | |
5 | # SPDX-License-Identifier: LGPL-2.1-only | |
6 | ||
7 | TEST_DESC="Triggers - Backwards compatibility nameless triggers" | |
8 | ||
9 | CURDIR=$(dirname "$0")/ | |
10 | TESTDIR=${CURDIR}/../../../.. | |
11 | ||
12 | # shellcheck source=../../../../utils/utils.sh | |
13 | source "$TESTDIR/utils/utils.sh" | |
14 | ||
15 | TRIGGER_NAME_BIN="$CURDIR/trigger_name" | |
16 | ||
17 | # MUST set TESTDIR before calling those functions | |
18 | ||
19 | start_lttng_sessiond_notap | |
20 | ||
21 | $TRIGGER_NAME_BIN | |
22 | ||
23 | stop_lttng_sessiond_notap |