numam-spdk/test/ocf
Michal Berger 742f04b3f7 check_format: Fixes for shellcheck's SC2251 directive
SC2251: This ! is not on a condition and skips errexit.
        Use && exit 1 instead, or make sure $? is checked.

This is critical since our test suites heavily depend on errexit
to catch all abnormal conditions. Replace ! foo ... with a call to
NOT() wherever possible. For the test/ocf pieces, use [[ ]] instead
to define the condition for the existance of the ocf bdev.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: Ied3f99b9f1dc0594e4aef64fc21e51498f19ac23
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8504
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-06-30 22:43:05 +00:00
..
integrity test: add bdev_wait_for_examine to static JSON configs 2021-05-13 10:07:07 +00:00
management check_format: Fixes for shellcheck's SC2251 directive 2021-06-30 22:43:05 +00:00
common.sh test/ocf: remove unused nvme_cfg() function 2020-11-05 09:37:55 +00:00
ocf.sh ocf/rpc: Add bdev_ocf_set_cache_mode method 2021-03-18 14:39:09 +00:00