From 1c0628f83ce2dbf27dc0c916a53d915b20233890 Mon Sep 17 00:00:00 2001 From: Patrick East Date: Wed, 22 Oct 2014 16:22:47 -0700 Subject: [PATCH] Fix an issue with setting tempest volume vendor_name with spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/tempest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tempest b/lib/tempest index 3c37918018..350d08c331 100644 --- a/lib/tempest +++ b/lib/tempest @@ -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 \