Spdk/scripts
Karol Latecki 4033c66071 scripts/vagrant: do not treat SPDK_VAGRANT_DISTRO as array
Dash and double dash ("-" and "--") getopts params are safely
shifted using "shift" and "OPTIND". After that it's safe to
concatenate param array to string using "$*", especially that
there is only 1 positional parameter, which is distro version.

Previous approach ("$@" as array) made "export" impossible and
as a result VM was created with Fedora 28 distro on each run.

Change-Id: I48fa588220f8b7f46c561d480ee32920847c7903
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476128
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com>
2019-12-04 15:16:04 +00:00
..
ceph test: Shellcheck - correct rule: Consider using { cmd1; cmd2; } 2019-11-22 13:51:15 +00:00
perf scripts/perf/nvmf: remove hard-coded fio directory 2019-10-10 16:19:23 +00:00
rpc bdev/zone: Rpc functions for zoned block bdev 2019-11-15 20:27:14 +00:00
spdkcli module/raid: make raid_level an enum instead of plain integer 2019-11-01 14:34:32 +00:00
vagrant scripts/vagrant: do not treat SPDK_VAGRANT_DISTRO as array 2019-12-04 15:16:04 +00:00
check_format.sh test: Shellcheck - move rule SC2016 to permanent exception list. 2019-11-27 07:08:57 +00:00
common.sh test: Shellcheck - apply rule SC2155 2019-11-12 18:14:59 +00:00
config_converter.py rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
detect_cc.sh make: override scan-build for unit tests. 2019-09-11 16:30:38 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts/fio.py: add argparse for command line parameters 2019-06-03 04:34:10 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh test: Shellcheck - apply rule SC2214 2019-10-11 18:46:21 +00:00
gen_nvme.sh rpc: Rename construct_nvme_bdev to bdev_nvme_attach_controller 2019-09-18 21:53:25 +00:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py scripts:Fix Python errors in checking scripts 2019-02-12 18:37:09 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
pkgdep.sh lib/nvme: add NVMe character device 2019-10-24 23:43:59 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh test: Shellcheck - correct rule: $/${} is unnecessary on arithmetic variables. 2019-11-07 23:04:10 +00:00
qat_setup.sh test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
rpc_http_proxy.py scripts, test: fix python overindent issues 2019-04-04 03:59:12 +00:00
rpc.py bdev/zone: Rpc functions for zoned block bdev 2019-11-15 20:27:14 +00:00
setup.sh scripts/setup.sh: Fix. Variable virtio_names used as array contains empty first element. 2019-12-04 15:12:46 +00:00
spdkcli.py spdkcli: fix pylint warnings 2019-10-22 17:23:00 +00:00