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:
parent
059935c46f
commit
02a794ef88
@ -138,7 +138,7 @@ function nvmfcleanup()
|
|||||||
|
|
||||||
function nvmftestinit()
|
function nvmftestinit()
|
||||||
{
|
{
|
||||||
if [ $1 == "iso" ]; then
|
if [ "$1" == "iso" ]; then
|
||||||
$rootdir/scripts/setup.sh
|
$rootdir/scripts/setup.sh
|
||||||
rdma_device_init
|
rdma_device_init
|
||||||
fi
|
fi
|
||||||
@ -146,7 +146,7 @@ function nvmftestinit()
|
|||||||
|
|
||||||
function nvmftestfini()
|
function nvmftestfini()
|
||||||
{
|
{
|
||||||
if [ $1 == "iso" ]; then
|
if [ "$1" == "iso" ]; then
|
||||||
$rootdir/scripts/setup.sh reset
|
$rootdir/scripts/setup.sh reset
|
||||||
rdma_device_init
|
rdma_device_init
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user