X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fstress%2Flaunch_ust_app;h=a40199924069689336f885e0e2ea04deb31c8e90;hp=2bb8e4f66f783134136d994658810df631b110fd;hb=fa3f8be960428e090b9576e3c67f0db33ed369d5;hpb=605ac7582cd379d4c6d0744f822a494640ae2cc7 diff --git a/tests/stress/launch_ust_app b/tests/stress/launch_ust_app index 2bb8e4f66..a40199924 100755 --- a/tests/stress/launch_ust_app +++ b/tests/stress/launch_ust_app @@ -1,19 +1,9 @@ #!/bin/bash # -# Copyright (C) - 2013 David Goulet +# Copyright (C) 2013 David Goulet # -# This library is free software; you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; version 2.1 of the License. +# SPDX-License-Identifier: LGPL-2.1-only # -# This library 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 Lesser General Public License for more -# details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/.. @@ -52,7 +42,7 @@ fi # Infinite loop. Spawns NR_APP apps for NR_USEC_WAIT doing NR_APP_LOOP. while :; do for j in `seq 1 $NR_APP`; do - $TESTAPP_BIN $NR_APP_LOOP $NR_USEC_WAIT >/dev/null 2>&1 & + $TESTAPP_BIN -i $NR_APP_LOOP -w $NR_USEC_WAIT >/dev/null 2>&1 & done # Wait before the next round of applications. sleep 3