Spdk/test/common
Michal Berger f3b3c5bd84 test/common: Don't exit from within the killprocess()
This breaks the flow of EXIT traps that use this function together
with errexit. Consider:

set -e
trap 'killprocess $pid_not_found; nvmftestfini' EXIT
...

if killprocess() suddenly exits the remaining parts of the trap won't
be executed.

Also, if the process is not found, allow killprocess() to return
success - if it's gone then the main goal of the function is already
achieved. If the process terminated abruptly errexit should pick that
up regardless.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I93c00c2a2da5457affb2ed2b5bf0ebae9c4bf291
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10853
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-01-05 09:24:22 +00:00
..
config pkgdep/git: Patch for the ice driver targeting latest linux kernel 2021-12-20 08:45:00 +00:00
lib rdma: Update for memory map 2021-11-19 08:29:59 +00:00
applications.sh test/common: Add SPDK_APP wrapper for spdk_tgt 2021-01-07 13:38:26 +00:00
autotest_common.sh test/common: Don't exit from within the killprocess() 2022-01-05 09:24:22 +00:00
skipped_build_files.txt test/nvmf: fuzz nvmf target using LLVM's libFuzzer 2021-12-15 04:32:05 +00:00
skipped_tests.txt test/nvme/zns: Add simple fio test for zoned nvme devices 2021-12-06 08:34:46 +00:00