Whamcloud - gitweb
LU-11673 tests: quote argument of -n and test fix 27/36927/3
authorJames Nunez <jnunez@whamcloud.com>
Fri, 2 Aug 2019 19:49:59 +0000 (13:49 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 06:45:11 +0000 (06:45 +0000)
commit1727bce01ffe49ce5dbf44af3d1cf4dd8f1db15d
treee920ca196bc1bd2aa20e0adcc7653514175d64b8
parent77f11cda573ff7001317c1ca87bffad992d66e25
LU-11673 tests: quote argument of -n and test fix

Inside the single bracket test function '[', the ā€˜-n’ flag
problems arise with unquoted arguments.  The -n argument
should be quoted or use double brackets for the test.

Quote the ā€˜-n’ argument in test-framework.sh functions.
This simple correction caused a few tests to fail.
Fix sanity test 65k to use the correct facets and check
for the mgs facet in convert_facet2label() to fix
replay-single test 58b.

Lustre-change: https://review.whamcloud.com/35080
Lustre-commit: 7e0cba246a7f2408c8266574a657e4459f691570

Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I9655d2138c56c007207434f04b487b518bb3392e
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36927
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh