projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move to kernel style SPDX license identifiers
[babeltrace.git]
/
tests
/
cli
/
test_output_path_ctf_non_lttng_trace
diff --git
a/tests/cli/test_output_path_ctf_non_lttng_trace
b/tests/cli/test_output_path_ctf_non_lttng_trace
index a18644c5406ac384b1d851d619b0d31fe36815aa..d7700931be8c19995848460e15e1e66abae77ffa 100755
(executable)
--- a/
tests/cli/test_output_path_ctf_non_lttng_trace
+++ b/
tests/cli/test_output_path_ctf_non_lttng_trace
@@
-1,20
+1,9
@@
#!/bin/bash
#!/bin/bash
-
-# Copyright (C) EfficiOS Inc.
#
#
-# 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) EfficiOS Inc.
#
#
-# 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 verifies that generic (non-LTTng) CTF traces are output with the
# expected directory structure.
# This test verifies that generic (non-LTTng) CTF traces are output with the
# expected directory structure.
@@
-39,8
+28,8
@@
source "$UTILSSH"
plan_tests 3
plan_tests 3
-temp_input_dir=$(mktemp -
d
)
-temp_output_dir=$(mktemp -
d
)
+temp_input_dir=$(mktemp -
t -d test_output_path_ctf_non_lttng_trace_input.XXXXXX
)
+temp_output_dir=$(mktemp -
t -d test_output_path_ctf_non_lttng_trace_output.XXXXXX
)
mkdir -p "${temp_input_dir}/a/b/c"
cp -a "${BT_CTF_TRACES_PATH}/intersection/3eventsintersect" "${temp_input_dir}/a/b/c"
mkdir -p "${temp_input_dir}/a/b/c"
cp -a "${BT_CTF_TRACES_PATH}/intersection/3eventsintersect" "${temp_input_dir}/a/b/c"
@@
-51,7
+40,7
@@
cp -a "${BT_CTF_TRACES_PATH}/intersection/3eventsintersectreverse" "${temp_input
mkdir -p "${temp_input_dir}/d/e/f"
cp -a "${BT_CTF_TRACES_PATH}/intersection/nointersect" "${temp_input_dir}/d/e/f"
mkdir -p "${temp_input_dir}/d/e/f"
cp -a "${BT_CTF_TRACES_PATH}/intersection/nointersect" "${temp_input_dir}/d/e/f"
-
"${BT_TESTS_BT2_BIN}
" "${temp_input_dir}" -c sink.ctf.fs -p "path=\"${temp_output_dir}\""
+
bt_cli "/dev/null" "/dev/null
" "${temp_input_dir}" -c sink.ctf.fs -p "path=\"${temp_output_dir}\""
test -f "${temp_output_dir}/a/b/c/3eventsintersect/metadata"
ok "$?" "3eventsintersect output trace exists"
test -f "${temp_output_dir}/a/b/c/3eventsintersect/metadata"
ok "$?" "3eventsintersect output trace exists"
This page took
0.024133 seconds
and
4
git commands to generate.