tests: trigger action firing policy
[lttng-tools.git] / tests / regression / tools / rotation / test_schedule_api
CommitLineData
ed9f1fb2
JG
1#!/bin/bash
2#
9d16b343 3# Copyright (C) 2018 Jérémie Galarneau <jdesfossez@efficios.com>
ed9f1fb2 4#
9d16b343
MJ
5# SPDX-License-Identifier: LGPL-2.1-only
6
ed9f1fb2
JG
7TEST_DESC="Rotation - Schedule API"
8
9CURDIR=$(dirname $0)/
10TESTDIR=$CURDIR/../../..
11
12SESSION_NAME="my_session"
13TRACE_PATH=$(mktemp -d)
14
15source $TESTDIR/utils/utils.sh
16
17print_test_banner "$TEST_DESC"
18
19start_lttng_sessiond_notap
20
21create_lttng_session_notap $SESSION_NAME $TRACE_PATH
22
23# The actual test is a native application as it tests the liblttng-ctl API
24$CURDIR/schedule_api $SESSION_NAME
25
26destroy_lttng_session_notap $SESSION_NAME
27stop_lttng_sessiond_notap
28
29# Remove tmp dir
30rm -rf $TRACE_PATH
This page took 0.029821 seconds and 4 git commands to generate.