X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_rotation;h=020d7c4891361b7ff420884ad161171a88238a5a;hp=250f1b3f631770b97c364ec3c3087ccbd1babe69;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hpb=88a5c0a9ce2333f12a1bd5d6b0ea527b86cde819 diff --git a/tests/regression/tools/notification/test_rotation b/tests/regression/tools/notification/test_rotation index 250f1b3f6..020d7c489 100755 --- a/tests/regression/tools/notification/test_rotation +++ b/tests/regression/tools/notification/test_rotation @@ -1,19 +1,8 @@ #!/bin/bash # -# Copyright (C) - 2017 Jérémie Galarneau +# Copyright (C) 2017 Jérémie Galarneau # -# 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 CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/../../../ @@ -47,7 +36,7 @@ enable_ust_lttng_event_notap $SESSION_NAME $EVENT_NAME $CHANNEL_NAME start_lttng_tracing_notap $SESSION_NAME -$TESTAPP_BIN $NR_ITER $NR_USEC_WAIT $FILE_SYNC_AFTER_FIRST_EVENT & +$TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT --sync-after-first-event $FILE_SYNC_AFTER_FIRST_EVENT & APP_PID=$! while [ ! -f "${FILE_SYNC_AFTER_FIRST_EVENT}" ]; do sleep 0.5