projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: use -z / -n to test for string empty / non-empty
[babeltrace.git]
/
tests
/
plugins
/
src.ctf.fs
/
succeed
/
test_succeed
diff --git
a/tests/plugins/src.ctf.fs/succeed/test_succeed
b/tests/plugins/src.ctf.fs/succeed/test_succeed
index 47e45b905b53a531c18e5d8cf9f4093762aebca2..81d87593e3ee7e824c736644e121205b79ec5937 100755
(executable)
--- a/
tests/plugins/src.ctf.fs/succeed/test_succeed
+++ b/
tests/plugins/src.ctf.fs/succeed/test_succeed
@@
-1,20
+1,9
@@
#!/bin/bash
#
#!/bin/bash
#
-# Copyright (C) 2019 Philippe Proulx <pproulx@efficios.com>
-#
-# 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.
+# SPDX-License-Identifier: GPL-2.0-only
#
#
-# 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.
+# Copyright (C) 2019 Philippe Proulx <pproulx@efficios.com>
#
#
-# 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.
# This test validates that a `src.ctf.fs` component successfully reads
# specific CTF traces and creates the expected messages.
@@
-24,7
+13,7
@@
SH_TAP=1
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"
UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
else
UTILSSH="$(dirname "$0")/../../../utils/utils.sh"
@@
-136,7
+125,7
@@
test_force_origin_unix_epoch() {
rm -f "$temp_stdout_output_file" "$temp_stderr_output_file"
}
rm -f "$temp_stdout_output_file" "$temp_stderr_output_file"
}
-plan_tests 1
0
+plan_tests 1
3
test_force_origin_unix_epoch 2packets barectf-event-before-packet
test_ctf_gen_single simple
test_force_origin_unix_epoch 2packets barectf-event-before-packet
test_ctf_gen_single simple
@@
-145,5
+134,8
@@
test_ctf_single 2packets
test_ctf_single barectf-event-before-packet
test_ctf_single session-rotation
test_ctf_single lttng-tracefile-rotation
test_ctf_single barectf-event-before-packet
test_ctf_single session-rotation
test_ctf_single lttng-tracefile-rotation
+test_ctf_single array-align-elem
+test_ctf_single struct-array-align-elem
+test_ctf_single meta-ctx-sequence
test_packet_end lttng-event-after-packet
test_packet_end lttng-crash
test_packet_end lttng-event-after-packet
test_packet_end lttng-crash
This page took
0.024169 seconds
and
4
git commands to generate.