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.lttng-live
/
test_live
diff --git
a/tests/plugins/src.ctf.lttng-live/test_live
b/tests/plugins/src.ctf.lttng-live/test_live
index f5ba914b5af8af44f272583febe2c9b0427e8dc5..e1766e158653039f80a2fb0984e5f073afc97a22 100755
(executable)
--- a/
tests/plugins/src.ctf.lttng-live/test_live
+++ b/
tests/plugins/src.ctf.lttng-live/test_live
@@
-13,7
+13,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"
This page took
0.026213 seconds
and
4
git commands to generate.