X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsnapshots%2Fust_test;h=c2563afd867b64a42902ccc5e6b51444c4c183e5;hb=8db430e7dcb5305c60a93ccb2fc90e8e0f006915;hp=aa9d4763e6c762419cf678f77e5c7db68eba4cf1;hpb=9f0e230a68c5715f28372aa3df9ad1cb13cf6b43;p=lttng-tools.git diff --git a/tests/regression/tools/snapshots/ust_test b/tests/regression/tools/snapshots/ust_test index aa9d4763e..c2563afd8 100755 --- a/tests/regression/tools/snapshots/ust_test +++ b/tests/regression/tools/snapshots/ust_test @@ -1,19 +1,9 @@ #!/bin/bash # -# Copyright (C) - 2013 Julien Desfossez +# Copyright (C) 2013 Julien Desfossez # -# 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="Snapshots - UST tracing" CURDIR=$(dirname $0)/ @@ -49,7 +39,7 @@ function start_test_app() local tmp_file=$(mktemp -u) # Start application with a temporary file. - $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT $tmp_file & + $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT --sync-after-first-event $tmp_file & ret=$? APPS_PID="${APPS_PID} ${!}" ok $ret "Start application to trace" @@ -368,7 +358,7 @@ function test_ust_local_snapshot_large_metadata () enable_ust_lttng_event_ok $SESSION_NAME $LM_EVENT $CHANNEL_NAME start_lttng_tracing_ok $SESSION_NAME lttng_snapshot_add_output_ok $SESSION_NAME file://$TRACE_PATH - $LM_BIN 1 1 + $LM_BIN --iter 1 --wait 1 ok $? "Start application to trace" lttng_snapshot_record $SESSION_NAME stop_lttng_tracing_ok $SESSION_NAME