ds_inhibit: Attempt to fix race condition in test

This commit is contained in:
Vicki Pfau 2024-04-16 18:47:55 -07:00
parent a182d580fd
commit 6f24e808f8

View file

@ -507,7 +507,7 @@ mod test {
symlink(hid.hidraw(), path.join("proc/1/fd/3")).expect("symlink");
let f = File::open(hid.hidraw()).expect("hidraw");
nyield(2).await;
nyield(3).await;
assert_eq!(
read_to_string(sys_base.join("input/input0/inhibited")).expect("inhibited"),
"1\n"