SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[lttng-tools.git] / tests / regression / tools / rotation / test_schedule_api
1 #!/bin/bash
2 #
3 # Copyright (C) 2018 Jérémie Galarneau <jdesfossez@efficios.com>
4 #
5 # SPDX-License-Identifier: LGPL-2.1-only
6
7 TEST_DESC="Rotation - Schedule API"
8
9 CURDIR=$(dirname $0)/
10 TESTDIR=$CURDIR/../../..
11
12 SESSION_NAME="my_session"
13 TRACE_PATH=$(mktemp -d)
14
15 source $TESTDIR/utils/utils.sh
16
17 print_test_banner "$TEST_DESC"
18
19 start_lttng_sessiond_notap
20
21 create_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
26 destroy_lttng_session_notap $SESSION_NAME
27 stop_lttng_sessiond_notap
28
29 # Remove tmp dir
30 rm -rf $TRACE_PATH
This page took 0.031025 seconds and 5 git commands to generate.