X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Frotation-destroy-flush%2Ftest_rotation_destroy_flush;h=38165904fc0e1ed432715e1a9fd22e1bcd560d6b;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=a7a93771a1bfca3744abd1a77f62d963fe4824f6;hpb=ced06804cfc5116e4ea11c0a5b7520981cae79a6;p=lttng-tools.git diff --git a/tests/regression/ust/rotation-destroy-flush/test_rotation_destroy_flush b/tests/regression/ust/rotation-destroy-flush/test_rotation_destroy_flush index a7a93771a..38165904f 100755 --- a/tests/regression/ust/rotation-destroy-flush/test_rotation_destroy_flush +++ b/tests/regression/ust/rotation-destroy-flush/test_rotation_destroy_flush @@ -1,20 +1,10 @@ #!/bin/bash # -# Copyright (C) - 2015 Jonathan Rajotte -# Copyright (C) - 2016 Mathieu Desnoyers +# Copyright (C) 2015 Jonathan Rajotte +# Copyright (C) 2016 Mathieu Desnoyers # -# 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="UST - Rotation destroy flush" CURDIR=$(dirname $0)/ @@ -41,15 +31,14 @@ source $TESTDIR/utils/utils.sh # MUST set TESTDIR before calling those functions function run_app() { - $TESTAPP_BIN $NUM_EVENT + $TESTAPP_BIN -i $NUM_EVENT ok $? "Application done" } function signal_cleanup() { diag "*** Exiting ***" - stop_lttng_sessiond - exit 1 + full_cleanup } function enable_ust_lttng_channel_size_limit ()