numam-spdk/test/ocf/management
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
..
configuration-change.sh bdev/ocf: Improve cache line size handling 2021-05-11 11:56:04 +00:00
create-destruct.sh bdev/ocf: Improve cache line size handling 2021-05-11 11:56:04 +00:00
multicore.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
persistent-metadata.sh test: add bdev_wait_for_examine to static JSON configs 2021-05-13 10:07:07 +00:00
remove.sh check_format: Fixes for shellcheck's SC2251 directive 2021-06-30 22:43:05 +00:00