Spdk/test/nvmf/target
Michal Berger 70cc99bccf test/nvmf: Sanitize random string
In case the random string beggins with `-` (still a valid ascii char
that nvme supports) the rpc.py arg parser will treat it as an
additional argument instead of actual subsystem value.

To mitigate, escape the `-` in case it's the char that starts the
string.

Fixes: 1240

Change-Id: I07bd8134fb9fc16234e72e9ebd27e2b6b90d6b62
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1054
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-03-02 10:34:03 +00:00
..
bdev_io_wait.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
bdevio.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
connect_disconnect.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
create_transport.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
discovery.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
filesystem.sh test/nvmf: In filesystem.sh, wait for partition to be unused 2020-01-28 09:15:23 +00:00
fio.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
fuzz.sh test/common: Source *_APP from a common place 2020-02-27 10:15:40 +00:00
identify_passthru.sh test/common: Source *_APP from a common place 2020-02-27 10:15:40 +00:00
initiator_timeout.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
invalid.sh test/nvmf: Sanitize random string 2020-03-02 10:34:03 +00:00
multiconnection.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
multitarget_rpc.py test/nvmf: test the new nvmf RPCs. 2019-09-26 15:21:44 +00:00
multitarget.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
nmic.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
nvme_cli.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
nvmf_example.sh nvmf_example: add the acceptor poller 2020-01-07 12:16:05 +00:00
nvmf_lvol.sh test/nvmf: remove unnecessary check for soft_roce in nvmf_lvol 2020-02-13 09:51:38 +00:00
nvmf_vhost_fio.job create nvmf+vhost test. 2019-05-21 10:01:50 +00:00
nvmf_vhost.sh test/common: Source *_APP from a common place 2020-02-27 10:15:40 +00:00
rpc.sh test: fix issue with changing device names in waitforblk function 2020-01-20 10:00:06 +00:00
shutdown.sh test/nvmf: Leave 2 seconds before starting the next shutdown test case 2020-01-16 09:16:52 +00:00
srq_overwhelm.sh test: add timing calls to run_test 2019-12-10 17:12:03 +00:00