projects
/
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
[lttng-tools.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 9bfd450e06cda5164bfb86b5638688b8880f391c..ea40fce9b5cd9131ed68e3c7de4fdd2cda9eaa3f 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-1844,7
+1844,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.02834 seconds
and
4
git commands to generate.