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
/
sink.text.pretty
/
test_pretty_python
diff --git
a/tests/plugins/sink.text.pretty/test_pretty_python
b/tests/plugins/sink.text.pretty/test_pretty_python
index 3fdac62ceaed84cd92177501c78c6ed655b0a499..fe395e773b5514b5e7ec84db87c608b4d5a8d613 100755
(executable)
--- a/
tests/plugins/sink.text.pretty/test_pretty_python
+++ b/
tests/plugins/sink.text.pretty/test_pretty_python
@@
-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.023864 seconds
and
4
git commands to generate.