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
/
src.ctf.fs
/
query
/
test_query_support_info
diff --git
a/tests/plugins/src.ctf.fs/query/test_query_support_info
b/tests/plugins/src.ctf.fs/query/test_query_support_info
index f1d72cb35c8d6b04bb33ea8005cf796da4eee6ea..51044628d71be5bc1c7f1283f45866f3e5597bc9 100755
(executable)
--- a/
tests/plugins/src.ctf.fs/query/test_query_support_info
+++ b/
tests/plugins/src.ctf.fs/query/test_query_support_info
@@
-5,7
+5,7
@@
# Copyright (C) 2019 Simon Marchi <simon.marchi@efficios.com>
#
-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.023398 seconds
and
4
git commands to generate.