diff --git a/test/vhost/fiotest/autotest.sh b/test/vhost/fiotest/autotest.sh index f7dac7b50..f718fa02f 100755 --- a/test/vhost/fiotest/autotest.sh +++ b/test/vhost/fiotest/autotest.sh @@ -228,13 +228,13 @@ for vm_conf in ${vms[@]}; do fi echo "INFO: Trying to remove nonexistent block controller" - if $rpc_py remove_vhost_block_dev vhost.nonexistent.name 0; then + if $rpc_py remove_vhost_controller vhost.nonexistent.name; then echo "ERROR: Removing nonexistent block controller succeeded, but it shouldn't" false fi echo "INFO: Trying to create block controller with incorrect name" - if $rpc_py construct_vhost_scsi_controller . Malloc0; then + if $rpc_py construct_vhost_blk_controller . Malloc0; then echo "ERROR: Creating block controller with incorrect name succeeded, but it shouldn't" false fi