Whamcloud - gitweb
LU-9411 tests: remove spaces around '+=' 12/31112/2
authorJames Nunez <james.a.nunez@intel.com>
Thu, 4 Jan 2018 21:13:37 +0000 (14:13 -0700)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 26 Feb 2018 19:12:43 +0000 (19:12 +0000)
In sanity test 27D, the variable that collects tests to
skip needs to have spaces removed when the variable is
being concatenated with new tests to skip.

Test-Parameters: trivial

Lustre-change: https://review.whamcloud.com/30725
Lustre-commit: ecc770c3435b8dc277f7b7606e93f22d2c6a6069

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ie57efecd2867b748f56998bc2fc375ea9d566611
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Reviewed-by: Cliff White <cliff.white@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31112
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/sanity.sh

index cda9106..0274844 100755 (executable)
@@ -2072,10 +2072,10 @@ test_27D() {
 
        local skip27D
        [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.8.55) ] &&
-               skip27D += "-s 29"
+               skip27D+="-s 29"
        [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.9.55) -o \
          $(lustre_version_code client) -lt $(version_code 2.9.55) ] &&
-               skip27D += "-s 30,31"
+               skip27D+=" -s 30,31"
        llapi_layout_test -d$DIR/$tdir -p$POOL -o$OSTCOUNT $skip27D ||
                error "llapi_layout_test failed"