mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 17:32:21 -04:00
ds_inhibit: Attempt to fix race condition in test
This commit is contained in:
parent
a182d580fd
commit
6f24e808f8
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ mod test {
|
||||||
|
|
||||||
symlink(hid.hidraw(), path.join("proc/1/fd/3")).expect("symlink");
|
symlink(hid.hidraw(), path.join("proc/1/fd/3")).expect("symlink");
|
||||||
let f = File::open(hid.hidraw()).expect("hidraw");
|
let f = File::open(hid.hidraw()).expect("hidraw");
|
||||||
nyield(2).await;
|
nyield(3).await;
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
read_to_string(sys_base.join("input/input0/inhibited")).expect("inhibited"),
|
read_to_string(sys_base.join("input/input0/inhibited")).expect("inhibited"),
|
||||||
"1\n"
|
"1\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue