Test /dev/sev is writable by the user
@@ -175,6 +175,16 @@ fn main() {
}),
dependents: vec![],
},
+ Test {
+ name: "File is writable by user",
+ func: Box::new(|| {
+ match std::fs::OpenOptions::new().write(true).open("/dev/sev") {
+ Ok(_) => (Ok(()), None),
+ Err(e) => (Err(()), Some(format!(": {}", e))),
+ }
+ }),
+ dependents: vec![],
+ },
],
},
],
