Whamcloud - gitweb
LU-11673 tests: quote argument of -n and test fix 80/35080/5
authorJames Nunez <jnunez@whamcloud.com>
Fri, 2 Aug 2019 19:49:59 +0000 (13:49 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:54:03 +0000 (07:54 +0000)
commit7e0cba246a7f2408c8266574a657e4459f691570
tree453ada0f4fd402d1d64f1497d3e22355230bbb0f
parent93b08edfb1c6ae8aec7e1009d3aca450416358d7
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.

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