test: fix error when running vhost_test.sh
Met error "touch: cannot touch './timing.txt': No such file or directory" when running vhost_test.sh. For the working directory is removed in "vhost_kill 0", And then "timing_exit clean_vhost" will fail to touch timing.txt in the removed directory. Signed-off-by: richael zhuang <richael.zhuang@arm.com> Change-Id: I2d0818b1228ebfd6767c258a0f4c1fbbfc728016 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479482 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
ee15ba45fb
commit
858df2692e
@ -118,7 +118,8 @@ $rpc_py vhost_scsi_controller_remove_target naa.vhost_vm.$vm_no 0
|
||||
$rpc_py vhost_delete_controller naa.vhost_vm.$vm_no
|
||||
$rpc_py bdev_lvol_delete $lvb_u
|
||||
$rpc_py bdev_lvol_delete_lvstore -u $lvs_u
|
||||
vhost_kill 0
|
||||
timing_exit clean_vhost
|
||||
|
||||
vhost_kill 0
|
||||
|
||||
vhosttestfini
|
||||
|
Loading…
x
Reference in New Issue
Block a user