Fix an issue with setting tempest volume vendor_name with spaces
If the volume vendor has spaces in it, for example “Open Source”, we
need to have quotes around the uses of the variables or the behavior
will not be as expected.
Change-Id: Ie1e99b6d6de2313e5b5b5a5d3057c136c9b34601
diff --git a/lib/tempest b/lib/tempest
index 3c37918..350d08c 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -372,7 +372,7 @@
fi
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \
- $TEMPEST_VOLUME_VENDOR != $TEMPEST_DEFAULT_VOLUME_VENDOR ]; then
+ "$TEMPEST_VOLUME_VENDOR" != "$TEMPEST_DEFAULT_VOLUME_VENDOR" ]; then
iniset $TEMPEST_CONFIG volume vendor_name "$TEMPEST_VOLUME_VENDOR"
fi
if [ $TEMPEST_VOLUME_DRIVER != "default" -o \