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
/
ctf-writer
/
test_ctf_writer
diff --git
a/tests/ctf-writer/test_ctf_writer
b/tests/ctf-writer/test_ctf_writer
index 15ad2e32a6a34d7164f764b71512815f543af6b0..7616b691643f05ead02e729117e2a8e44740a8e8 100755
(executable)
--- a/
tests/ctf-writer/test_ctf_writer
+++ b/
tests/ctf-writer/test_ctf_writer
@@
-5,7
+5,7
@@
# Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
#
-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.036936 seconds
and
4
git commands to generate.