test: Properly quote function arguments

Change-Id: I163f08a52764069bcfcaee4accccd8e1f75c8b9f
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/423763
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Ben Walker 2018-08-28 15:00:34 -07:00 committed by Changpeng Liu
parent 059935c46f
commit 02a794ef88

View File

@ -138,7 +138,7 @@ function nvmfcleanup()
function nvmftestinit()
{
if [ $1 == "iso" ]; then
if [ "$1" == "iso" ]; then
$rootdir/scripts/setup.sh
rdma_device_init
fi
@ -146,7 +146,7 @@ function nvmftestinit()
function nvmftestfini()
{
if [ $1 == "iso" ]; then
if [ "$1" == "iso" ]; then
$rootdir/scripts/setup.sh reset
rdma_device_init
fi