Tests: add unix socket wrapper unit tests
[lttng-tools.git] / tests / perf / test_perf_raw.in
index a5f9f5549b4eff97c2af232937b350e511676729..7ed6d33b9f73b410be6c24c91cf667de6217e02e 100644 (file)
@@ -1,19 +1,9 @@
 #!/bin/bash
 #
-# Copyright (C) 2016 Julien Desfossez <jdesfossez@efficios.com>
+# Copyright (C) 2016 Julien Desfossez <jdesfossez@efficios.com>
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License, version 2 only, as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
 #
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 51
-# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 TEST_DESC="Perf counters"
 
@@ -21,7 +11,7 @@ CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/..
 LTTNG_BIN="lttng"
 SESSION_NAME="perf_counters"
-NUM_TESTS=20
+NUM_TESTS=21
 NR_ITER=1
 NR_USEC_WAIT=1
 TESTAPP_PATH="$TESTDIR/utils/testapp"
@@ -69,7 +59,7 @@ function test_ust_raw()
 
        start_lttng_tracing_ok
 
-       $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT >/dev/null 2>&1
+       $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT >/dev/null 2>&1
 
        stop_lttng_tracing_ok
 
This page took 0.024035 seconds and 5 git commands to generate.