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
/
fail
/
test_fail
diff --git
a/tests/plugins/src.ctf.fs/fail/test_fail
b/tests/plugins/src.ctf.fs/fail/test_fail
index 652ec6f4bd302a87cb3271e8bceb8d1ab6c5653f..1c75a0d28a6391fafa48ffe390b6075cb908732d 100755
(executable)
--- a/
tests/plugins/src.ctf.fs/fail/test_fail
+++ b/
tests/plugins/src.ctf.fs/fail/test_fail
@@
-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.024127 seconds
and
4
git commands to generate.