test/vhost: Use basename of the vhost dir passed to vhost_kill
vhost_kill expects the argument to be the name|id of the vhost instance, not the absolute path to its directory. Change-Id: Ia41f49cdfdeaa97316cdc0d6e963fad2edd055f2 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5034 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
10ed0eb755
commit
feb6830021
@ -1221,7 +1221,7 @@ function at_app_exit() {
|
||||
notice "killing vhost app"
|
||||
|
||||
for vhost_name in "$TARGET_DIR"/*; do
|
||||
vhost_kill $vhost_name
|
||||
vhost_kill "$(basename "$vhost_name")"
|
||||
done
|
||||
|
||||
notice "EXIT DONE"
|
||||
|
Loading…
Reference in New Issue
Block a user