projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: tests: quote variable in case it's not set
[deliverable/lttng-tools.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 0152ed4d6713834cc0451f4991d813778a0db218..3ad9abe33db4ade3f20f03ebe3fffd68d2f9cac5 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-1978,7
+1978,7
@@
function rotate_session_fail ()
function destructive_tests_enabled ()
{
- if [
${LTTNG_ENABLE_DESTRUCTIVE_TESTS}
= "will-break-my-system" ]; then
+ if [
"$LTTNG_ENABLE_DESTRUCTIVE_TESTS"
= "will-break-my-system" ]; then
return 0
else
return 1
This page took
0.024164 seconds
and
5
git commands to generate.