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_log_level
diff --git
a/tests/cli/convert/test_auto_source_discovery_log_level
b/tests/cli/convert/test_auto_source_discovery_log_level
index b7163234eb6d3bcb723f3024f4550d5687465a74..56df66fab33d855f8edfcef7ce569d3bb8f1114f 100755
(executable)
--- a/
tests/cli/convert/test_auto_source_discovery_log_level
+++ b/
tests/cli/convert/test_auto_source_discovery_log_level
@@
-8,7
+8,7
@@
# Test how log level options are applied to sources auto-discovered by the
# convert command.
# Test how log level options 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.024503 seconds
and
4
git commands to generate.