projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: improve debuggability of `cli/test-trace-copy.sh`
[babeltrace.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 5c7b3eeb54e43bb465c1225da9292e258a2a2811..9081a88e2e871324448adfc0620bae33db4cc4fb 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-487,3
+487,9
@@
bt_gen_mctf_trace() {
echo "Running: \`${cmd[*]}\`" >&2
bt_run_in_py_utils_env "${cmd[@]}"
}
+
+# Call `diag` with the contents of file `$1`.
+
+diag_file() {
+ diag "$(cat "$1")"
+}
This page took
0.023575 seconds
and
4
git commands to generate.