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
/
lib
/
test_plugin
diff --git
a/tests/lib/test_plugin
b/tests/lib/test_plugin
index f16f1bd0520e98fab1565ee671fcff4d083423a9..b9a3fcdafc7aca2fc9eb60e56680e629589de335 100755
(executable)
--- a/
tests/lib/test_plugin
+++ b/
tests/lib/test_plugin
@@
-5,7
+5,7
@@
# Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
#
# Copyright (C) 2017 Philippe Proulx <pproulx@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"
UTILSSH="$BT_TESTS_SRCDIR/utils/utils.sh"
else
UTILSSH="$(dirname "$0")/../utils/utils.sh"
This page took
0.024541 seconds
and
4
git commands to generate.