numam-spdk/test/pmem
Pawel Kaminski 7f0efebdf3 test: Shellcheck - apply rule SC2181
Check exit code directly with e.g. 'if mycmd;',
not indirectly with $?.

Rule disabled in test/pmem/common.sh as behaviour
may differ depends on bash version

Change-Id: Ied4c5dfb09e52c5db08becf1ad69a29a1bda426b
Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468363
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
2019-10-08 15:49:13 +00:00
..
common.sh test: Shellcheck - apply rule SC2181 2019-10-08 15:49:13 +00:00
pmem.sh test: Shellcheck - apply rule SC2181 2019-10-08 15:49:13 +00:00