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
/
test_trace_read
diff --git
a/tests/cli/test_trace_read
b/tests/cli/test_trace_read
index ce874af16b3b4586edae267c0e30d204219bbd62..474015e08e5a2dccc246d9c339a616c5dfe373ae 100755
(executable)
--- a/
tests/cli/test_trace_read
+++ b/
tests/cli/test_trace_read
@@
-7,7
+7,7
@@
SH_TAP=1
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"
UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
else
UTILSSH="$(dirname "$0")/../utils/utils.sh"
This page took
0.024022 seconds
and
4
git commands to generate.