test/ftl: Fix bug with assiciative array

Patch fdc82d3bc8c45a90f297e713dd48d3cb4e159824 fixing shellcheck's rule SC2068
caused `ftl/fio.sh` to take the whole array as single element during loop iteration.

Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Change-Id: Id31e8b32c54e9c8ae114b360779fce0579af8ccf
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476145
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Maciej Wawryk 2019-11-29 11:49:39 +01:00 committed by Tomasz Zawadzki
parent ebe62e1453
commit 394bb22b63

View File

@ -31,7 +31,7 @@ else
$rootdir/scripts/gen_ftl.sh -a $device -n nvme0 -l 0-3 -u $uuid > $FTL_BDEV_CONF
fi
for test in "${tests[@]}"; do
for test in ${tests}; do
timing_enter $test
fio_bdev $testdir/config/fio/$test.fio
timing_exit $test