Commit 982c2051 authored by Michal Berger's avatar Michal Berger Committed by Konrad Sztyber
Browse files

test/common: Include test/nvme in the reap_spdk_processes() lookup

The nvme suite includes several testing binaries - their processes may
be left lingering in the system in case of a crash. Make sure autotest's
cleanup picks all their pieces.

See: https://github.com/spdk/spdk/issues/3399



Change-Id: Ie73faeeed97140d5c02bcf1bf0b69f1e1177deac
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23519


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
parent 78d09f1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1624,7 +1624,7 @@ function reap_spdk_processes() {
	local bins test_bins procs
	local spdk_procs spdk_pids

	mapfile -t test_bins < <(find "$rootdir"/test/{app,env,event} -type f)
	mapfile -t test_bins < <(find "$rootdir"/test/{app,env,event,nvme} -type f)
	mapfile -t bins < <(
		exec_files "${test_bins[@]}"
		readlink -f "$SPDK_BIN_DIR/"* "$SPDK_EXAMPLE_DIR/"*