X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fplugins%2Fflt.lttng-utils.debug-info%2Ftest_succeed;h=1df6fbb2f0cf7b086e18ccf81e33a70cd8c5c6b6;hb=75e396f6b20bdf52c76a3c7312e7fb815ac1e5e9;hp=8a4c07b041c26e60d626c20eedf4475ed2903ab5;hpb=ce0098bd36c3f818bf0beb50dc3cbfba61a6f2a3;p=babeltrace.git diff --git a/tests/plugins/flt.lttng-utils.debug-info/test_succeed b/tests/plugins/flt.lttng-utils.debug-info/test_succeed index 8a4c07b0..1df6fbb2 100755 --- a/tests/plugins/flt.lttng-utils.debug-info/test_succeed +++ b/tests/plugins/flt.lttng-utils.debug-info/test_succeed @@ -1,21 +1,10 @@ #!/bin/bash # +# SPDX-License-Identifier: GPL-2.0-only +# # Copyright (C) 2019 Philippe Proulx # Copyright (C) 2019 Francis Deslauriers # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; only version 2 -# of the License. -# -# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # This test validates that a `src.ctf.fs` component successfully reads # specific CTF traces and creates the expected messages. @@ -25,7 +14,7 @@ SH_TAP=1 -if [ "x${BT_TESTS_SRCDIR:-}" != "x" ]; then +if [ -n "${BT_TESTS_SRCDIR:-}" ]; then UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh" else UTILSSH="$(dirname "$0")/../../utils/utils.sh"