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.details
/
succeed
/
test_succeed
diff --git
a/tests/plugins/sink.text.details/succeed/test_succeed
b/tests/plugins/sink.text.details/succeed/test_succeed
index 6250b46d592159bf5a171df1fc33261ced79b605..9c21155dce364fe753f203fd1c594986d5354149 100755
(executable)
--- a/
tests/plugins/sink.text.details/succeed/test_succeed
+++ b/
tests/plugins/sink.text.details/succeed/test_succeed
@@
-7,7
+7,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.023573 seconds
and
4
git commands to generate.