From 4ae5503b58915423a01e890a98558ca0f9cea178 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 17 Jan 2024 23:53:38 +0100 Subject: [PATCH] vmm: remove redundant tests These are all duplicates. Signed-off-by: Alyssa Ross --- vmm/src/config.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 81de491eb..1cc8f4225 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -2868,20 +2868,6 @@ mod tests { ..Default::default() } ); - assert_eq!( - DiskConfig::parse("path=/path/to_file")?, - DiskConfig { - path: Some(PathBuf::from("/path/to_file")), - ..Default::default() - } - ); - assert_eq!( - DiskConfig::parse("path=/path/to_file")?, - DiskConfig { - path: Some(PathBuf::from("/path/to_file")), - ..Default::default() - } - ); assert_eq!( DiskConfig::parse("path=/path/to_file,serial=test")?, DiskConfig { @@ -3016,14 +3002,6 @@ mod tests { ..Default::default() } ); - assert_eq!( - FsConfig::parse("tag=mytag,socket=/tmp/sock")?, - FsConfig { - socket: PathBuf::from("/tmp/sock"), - tag: "mytag".to_owned(), - ..Default::default() - } - ); assert_eq!( FsConfig::parse("tag=mytag,socket=/tmp/sock,num_queues=4,queue_size=1024")?, FsConfig {