mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
tests: Make integration test use vhost_user_{net,block} binaries
With the removal of vhost-user self-spawning support we should migrate the tests to use the binaries so that we can remove the functionality from the cloud-hypervisor binary itself. See: #1925 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
0159ab93e1
commit
fb70baece0
@ -386,7 +386,7 @@ mod tests {
|
||||
let vubd_socket_path = String::from(tmp_dir.path().join("vub.sock").to_str().unwrap());
|
||||
|
||||
// Start the daemon
|
||||
let child = Command::new(clh_command("cloud-hypervisor"))
|
||||
let child = Command::new(clh_command("vhost_user_block"))
|
||||
.args(&[
|
||||
"--block-backend",
|
||||
format!(
|
||||
@ -461,7 +461,7 @@ mod tests {
|
||||
)
|
||||
};
|
||||
|
||||
let child = Command::new(clh_command("cloud-hypervisor"))
|
||||
let child = Command::new(clh_command("vhost_user_net"))
|
||||
.args(&["--net-backend", net_params.as_str()])
|
||||
.spawn()
|
||||
.unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user