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
/
sink.ctf.fs
/
test_stream_names
diff --git
a/tests/plugins/sink.ctf.fs/test_stream_names
b/tests/plugins/sink.ctf.fs/test_stream_names
index a60a1dbf97cd3ecebf0f3256fa36338e4b9ab4f4..c071eb173c71d4e42eb074e5a1a35f58152a9f39 100755
(executable)
--- a/
tests/plugins/sink.ctf.fs/test_stream_names
+++ b/
tests/plugins/sink.ctf.fs/test_stream_names
@@
-12,7
+12,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.024543 seconds
and
4
git commands to generate.