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_enum
diff --git
a/tests/plugins/sink.text.pretty/test_enum
b/tests/plugins/sink.text.pretty/test_enum
index b943efc0190a3d6f4215b089058b24afd341ba8f..723448b72ea85768ed828866f5a7704892869c29 100755
(executable)
--- a/
tests/plugins/sink.text.pretty/test_enum
+++ b/
tests/plugins/sink.text.pretty/test_enum
@@
-8,7
+8,7
@@
# not all covered by the main babeltrace tests with traces.
SH_TAP=1
# not all covered by the main babeltrace tests with traces.
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"
UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
else
UTILSSH="$(dirname "$0")/../../utils/utils.sh"
This page took
0.024132 seconds
and
4
git commands to generate.