test/vhost: Rename spdk_vhost_list_all to vhost_list_all
No need to prefix name with spdk. Change-Id: I413f78fac427a0955db495bb926bf8d6bc3dfb2a Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456701 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
9132128ff3
commit
a87ba5a7cf
@ -91,7 +91,7 @@ function get_vhost_dir()
|
||||
echo "$TEST_DIR/vhost${vhost_num}"
|
||||
}
|
||||
|
||||
function spdk_vhost_list_all()
|
||||
function vhost_list_all()
|
||||
{
|
||||
shopt -s nullglob
|
||||
local vhost_list="$(echo $TEST_DIR/vhost[0-9]*)"
|
||||
@ -1117,7 +1117,7 @@ function at_app_exit()
|
||||
# Kill vhost application
|
||||
notice "killing vhost app"
|
||||
|
||||
for vhost_num in $(spdk_vhost_list_all); do
|
||||
for vhost_num in $(vhost_list_all); do
|
||||
spdk_vhost_kill $vhost_num
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user