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
/
convert
/
test_auto_source_discovery_grouping
diff --git
a/tests/cli/convert/test_auto_source_discovery_grouping
b/tests/cli/convert/test_auto_source_discovery_grouping
index ba7f558a9e0d3878ca04b5ab0ff481a8e83aabe6..e476c96cb435a6448575c444c9b28d37c48df25b 100755
(executable)
--- a/
tests/cli/convert/test_auto_source_discovery_grouping
+++ b/
tests/cli/convert/test_auto_source_discovery_grouping
@@
-7,7
+7,7
@@
# Test the auto source disovery mechanism of the CLI.
# Test the auto source disovery mechanism of the CLI.
-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.024462 seconds
and
4
git commands to generate.