Whamcloud - gitweb
LU-11673 tests: quote argument of -n conf-sanity 28/36928/2
authorJames Nunez <jnunez@whamcloud.com>
Thu, 1 Aug 2019 21:23:14 +0000 (15:23 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 06:45:16 +0000 (06:45 +0000)
commitc207b3cb9b49e3c8026e63173a92ee6231f8eb5f
tree65419edeac6e854c1f9fa26b441d04d6373366dd
parent1727bce01ffe49ce5dbf44af3d1cf4dd8f1db15d
LU-11673 tests: quote argument of -n conf-sanity

Inside the single bracket test function '[', the argument
of the ā€˜-nā€™ flag should be quoted arguments.  If the -n
argument is not quoted, a blank value will cause the
variable to disappear and this causes issues.  Quote the
argument or use [[ ]].

conf-sanity test 79 has two cases where the ā€˜-nā€™ argument
is not quoted.  Let's correct this.

Lustre-change: https://review.whamcloud.com/35669
Lustre-commit: 443cc6e51f0202b9bc40c256259c4fc14ae3f7af

Test-Parameters: trivial envdefinitions=ONLY=79 testlist=conf-sanity
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I4b3a43de064d1992439dc25ecc7b0682520f74c9
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36928
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/conf-sanity.sh