Spdk/scripts
Pawel Kaminski f62c4d23f2 test: Shellcheck - move rule SC2207 to permanent exception list
Prefer mapfile or read -a to split
command output (or quote to avoid splitting).

We know the behaviour of commands that break the SC2207 rule.
They shouldn't invoke the shell's sloppy word splitting and glob expansion.
E.g. Code: stats=($(cat /sys/block/$dev/stat))
according to SC2207 rule could look like:
IFS=" " read -r -a stats <<< "$(cat /sys/block/$dev/stat))"
Stat file contains one simple line with entries separated by commas
so present code is enough to define statistics for dev.

Change-Id: Ia929d76461c9fcff425f69d2faf4405631e60239
Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467325
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-10-15 16:28:00 +00:00
..
ceph scripts: fixed failing ceph on fedora29 2019-10-11 18:45:30 +00:00
perf scripts/perf/nvmf: remove hard-coded fio directory 2019-10-10 16:19:23 +00:00
rpc blobfs: add blobfs_mount RPC as FUSE 2019-10-15 16:25:09 +00:00
spdkcli rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
vagrant scripts/vagrant: add arch-linux option 2019-09-17 18:35:06 +00:00
check_format.sh test: Shellcheck - move rule SC2207 to permanent exception list 2019-10-15 16:28:00 +00:00
common.sh scripts/common.sh: use PCI blacklist and whitelist 2019-02-11 13:29:38 +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 scripts/pkgdep.sh: Added Archlinux 2019-09-17 18:35:06 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: replace backticsk with dollar-parenthesis syntax 2019-07-05 12:06:10 +00:00
qat_setup.sh scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
rpc_http_proxy.py scripts, test: fix python overindent issues 2019-04-04 03:59:12 +00:00
rpc.py blobfs: add blobfs_mount RPC as FUSE 2019-10-15 16:25:09 +00:00
setup.sh test: Shellcheck - apply rule SC2178 2019-10-08 15:49:13 +00:00
spdkcli.py spdkcli: Add support for TCP connection 2019-09-19 05:03:09 +00:00