From 788d77aee54f26c2064dd29cb20211a61e6312c1 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Sat, 4 Dec 2021 03:19:39 -0500 Subject: [PATCH] tests: Update the virtiofsd-rs cmdline Commit ac2517217634ca8b89e441f5769ab6b916868ee1 bumps the rust version of virtiofsd named `virtiofsd-rs`, which causes a warning ``` warning: use of deprecated parameter '--socket': Please use the '--socket-path' option instead. ``` This commit updates the cmdline parameter accordingly. Signed-off-by: Henry Wang --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index 8b6123375..8e80a0414 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -141,7 +141,7 @@ mod tests { // Start the daemon let child = Command::new(virtiofsd_path.as_str()) .args(&["--shared-dir", shared_dir]) - .args(&["--socket", virtiofsd_socket_path.as_str()]) + .args(&["--socket-path", virtiofsd_socket_path.as_str()]) .args(&["--cache", cache]) .spawn() .unwrap();