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
/
bindings
/
python
/
bt2
/
test_python_bt2
diff --git
a/tests/bindings/python/bt2/test_python_bt2
b/tests/bindings/python/bt2/test_python_bt2
index 540065887d641ca3f7508573a3d888b825b020b5..a32362f3d8784a56ca591b7c27f49ceae1f92bb0 100755
(executable)
--- a/
tests/bindings/python/bt2/test_python_bt2
+++ b/
tests/bindings/python/bt2/test_python_bt2
@@
-5,7
+5,7
@@
# Copyright (C) 2017 Philippe Proulx <pproulx@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.023473 seconds
and
4
git commands to generate.