test/common: Silence vhost/commo.sh during cleanup

It's too verbose and may send confusing (in context of the actual
cleanup) messages.

Change-Id: I9e86e20afcf567fb54fec3a6cfb9008ad2080a12
Signed-off-by: Michal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17485
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>
This commit is contained in:
Michal Berger 2023-04-05 15:47:00 +02:00 committed by David Ko
parent f3d3338b29
commit 6585c782e5

View File

@ -1340,7 +1340,7 @@ function autotest_cleanup() {
# in one swing. We do this in a subshell as vhost/common.sh is too eager to
# do some extra work which we don't care about in this context.
# shellcheck source=/dev/null
vhost_reap() (source "$rootdir/test/vhost/common.sh" || return 0 && at_app_exit)
vhost_reap() (source "$rootdir/test/vhost/common.sh" &> /dev/null || return 0 && at_app_exit)
# catch any stray core files and kill all remaining SPDK processes. Update
# autotest_es in case autotest reported success but cores and/or processes