X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fmetadata%2Ftest_ust;h=cea0d5ced76149d13a4c5860d9937e0dd85a72c4;hp=529b0a21153265198a7043e7643217c54acafbbe;hb=4942c25609805b81dc67ea4447eac7f9cddac655;hpb=01654d6926771be58b4350463b0f12ea2e6aa34c diff --git a/tests/regression/tools/metadata/test_ust b/tests/regression/tools/metadata/test_ust index 529b0a211..cea0d5ced 100755 --- a/tests/regression/tools/metadata/test_ust +++ b/tests/regression/tools/metadata/test_ust @@ -1,19 +1,9 @@ #!/bin/bash # -# Copyright (C) - 2019 Jonathan Rajotte-Julien +# Copyright (C) 2019 Jonathan Rajotte # -# 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. -# -# 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 +# SPDX-License-Identifier: LGPL-2.1-only + TEST_DESC="Metadata env - User space tracing" CURDIR=$(dirname "$0")/ @@ -58,7 +48,7 @@ function test_per_uid () enable_ust_lttng_event_ok "$session_name" $EVENT_NAME start_lttng_tracing_ok "$session_name" - $TESTAPP_BIN $NR_ITER + $TESTAPP_BIN -i $NR_ITER stop_lttng_tracing_ok "$session_name" destroy_lttng_session_ok "$session_name" @@ -150,7 +140,7 @@ function test_per_pid () enable_ust_lttng_event_ok "$session_name" $EVENT_NAME channel start_lttng_tracing_ok "$session_name" - $TESTAPP_BIN "$NR_ITER" "$NR_USEC_WAIT" & + $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT & testapp_pid=$! wait $testapp_pid