power: Make test::setup return a Result

This commit is contained in:
Vicki Pfau 2024-08-06 20:06:38 -07:00
parent 0b3a8138e1
commit 53754680c1
3 changed files with 19 additions and 20 deletions

View file

@ -518,7 +518,7 @@ mod test {
drop(f);
remove_file(path.join("proc/1/fd/3")).expect("rm");
nyield(5).await;
nyield(15).await;
assert_eq!(
read_to_string(sys_base.join("input/input0/inhibited")).expect("inhibited"),
"0\n"