From 6585c782e5427c9dc028a579f093c0ff90f424d7 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Wed, 5 Apr 2023 15:47:00 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17485 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- test/common/autotest_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index e5ea96725..9fcf3ca1c 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -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