X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fhealth%2Ftest_thread_ok;h=1483fa70afc532e7b27d1c09a40a5509dfce93bf;hb=24de704ea32ddb8841624555457b9c46816090b0;hp=ae4596ad73ee0f054f970ef0cb018be27550ec74;hpb=67b4c664e2c6c6dc19920555c0abf094ed6cbe00;p=lttng-tools.git diff --git a/tests/regression/tools/health/test_thread_ok b/tests/regression/tools/health/test_thread_ok index ae4596ad7..1483fa70a 100755 --- a/tests/regression/tools/health/test_thread_ok +++ b/tests/regression/tools/health/test_thread_ok @@ -1,26 +1,14 @@ #!/bin/bash # -# Copyright (C) - 2012 Christian Babeux -# Copyright (C) - 2014 Mathieu Desnoyers +# Copyright (C) 2012 Christian Babeux +# Copyright (C) 2014 Mathieu Desnoyers # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License, version 2 only, as -# published by the Free Software Foundation. -# -# This program 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 General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., 51 -# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# SPDX-License-Identifier: GPL-2.0-only TEST_DESC="Health check - Thread OK" CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/../../.. -LTTNG_BIN="lttng" SESSION_NAME="health_thread_ok" UST_EVENT_NAME="tp:tptest" KERNEL_EVENT_NAME="sched_switch" @@ -31,14 +19,6 @@ SLEEP_TIME=30 source $TESTDIR/utils/utils.sh -function lttng_create_session_uri -{ - # Create session with default path - $TESTDIR/../src/bin/lttng/$LTTNG_BIN create $SESSION_NAME \ - -U net://localhost >/dev/null 2>&1 - ok $? "Create session with default path" -} - function report_errors { # Report health errors