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_metadata_info
diff --git
a/tests/plugins/src.ctf.fs/query/test_query_metadata_info
b/tests/plugins/src.ctf.fs/query/test_query_metadata_info
index 9c2e4d0afd9dcea49229eda0e3cd2a65d6dbdbed..6db90091d321198da45332fc2679ed9e91cfeed7 100755
(executable)
--- a/
tests/plugins/src.ctf.fs/query/test_query_metadata_info
+++ b/
tests/plugins/src.ctf.fs/query/test_query_metadata_info
@@
-8,7
+8,7
@@
SH_TAP=1
-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.024834 seconds
and
4
git commands to generate.