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
/
list-plugins
/
test_list_plugins
diff --git
a/tests/cli/list-plugins/test_list_plugins
b/tests/cli/list-plugins/test_list_plugins
index 3e42d1adc4aec0bc44d2a1e1f896611d37b384ee..595eb4db3db3b500ebc263955c0ca1c81dff5c33 100755
(executable)
--- a/
tests/cli/list-plugins/test_list_plugins
+++ b/
tests/cli/list-plugins/test_list_plugins
@@
-5,7
+5,7
@@
# Copyright (C) 2019 EfficiOS Inc.
#
-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.022209 seconds
and
4
git commands to generate.