From fb70baece0ed1e9e2f3d626c6043c63f87da79aa Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 17 Nov 2020 10:58:47 +0000 Subject: [PATCH] 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 --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 42fbcd404..21df55b8d 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -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();