Skip to content

Commit

Permalink
Fix an issue with setting tempest volume vendor_name with spaces
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Patrick East committed Oct 22, 2014
1 parent f367fd4 commit 1c0628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tempest
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function configure_tempest {
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 \
Expand Down

0 comments on commit 1c0628f

Please sign in to comment.