Gen-ust-events: use options instead of arguments
[lttng-tools.git] / tests / regression / tools / snapshots / test_ust_long
CommitLineData
1d20c959
DG
1#!/bin/bash
2#
3# Copyright (C) - 2013 Julien Desfossez <jdesfossez@efficios.com>
4#
5# This library is free software; you can redistribute it and/or modify it under
6# the terms of the GNU Lesser General Public License as published by the Free
7# Software Foundation; version 2.1 of the License.
8#
9# This library is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12# details.
13#
14# You should have received a copy of the GNU Lesser General Public License
15# along with this library; if not, write to the Free Software Foundation, Inc.,
16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18CURDIR=$(dirname $0)/
19NR_SNAPSHOT=1000
20TESTDIR=$CURDIR/../../..
21TEST_BIN="ust_test"
22
23source $TESTDIR/utils/utils.sh
24
25if [ ! -x "$CURDIR/$TEST_BIN" ]; then
26 BAIL_OUT "No UST test found: $TEST_BIN"
27fi
28
29./$CURDIR/$TEST_BIN $NR_SNAPSHOT
This page took 0.04416 seconds and 5 git commands to generate.