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
/
cli
/
params
/
test_params
diff --git
a/tests/cli/params/test_params
b/tests/cli/params/test_params
index 8f13ca60e7a5cccdcc207512292bee39baf4be1d..c207532a50e888f2a908dbdf9f777f3c60e35f6e 100755
(executable)
--- a/
tests/cli/params/test_params
+++ b/
tests/cli/params/test_params
@@
-8,7
+8,7
@@
# Test how parameters are applied to sources auto-discovered by the convert
# command.
# Test how parameters are applied to sources auto-discovered by the convert
# command.
-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.023908 seconds
and
4
git commands to generate.