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
/
flt.utils.trimmer
/
test_trimming
diff --git
a/tests/plugins/flt.utils.trimmer/test_trimming
b/tests/plugins/flt.utils.trimmer/test_trimming
index f7ae8cecc595a4f3fafd06dc08624c6610a60f33..f46fe31f00d4d22d7a498aa0e1b177029d126eb2 100755
(executable)
--- a/
tests/plugins/flt.utils.trimmer/test_trimming
+++ b/
tests/plugins/flt.utils.trimmer/test_trimming
@@
-10,7
+10,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.022581 seconds
and
4
git commands to generate.