Ordinary python str.split() will by default split on each whitespace.
This includes arguments for rpc.py which expect a whitespace separated list,
eg. construct_raid_bdev -b "Bdev_1 Bdev_2".
shlex.split() prevents splitting on quoted arguments.
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453652 (master)
(cherry picked from commit
|
||
---|---|---|
.. | ||
ceph | ||
perf | ||
rpc | ||
spdkcli | ||
vagrant | ||
check_format.sh | ||
common.sh | ||
config_converter.py | ||
detect_cc.sh | ||
eofnl | ||
fio.py | ||
gdb_macros.py | ||
gen_ftl.sh | ||
gen_nvme.sh | ||
gen_rbd.sh | ||
genconfig.py | ||
histogram.py | ||
pkgdep.sh | ||
posix.txt | ||
prep_benchmarks.sh | ||
qat_setup.sh | ||
rpc_http_proxy.py | ||
rpc.py | ||
setup.sh | ||
spdkcli.py |