mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-14 02:11:54 -04:00
process: Fix tests
This commit is contained in:
parent
66a9008d84
commit
9e0338e189
1 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ mod test {
|
|||
sleep_process.kill().await.expect("kill");
|
||||
|
||||
assert_eq!(
|
||||
sleep_process.exit_code().await.unwrap(),
|
||||
sleep_process.wait().await.unwrap(),
|
||||
-(Signal::SIGKILL as i32)
|
||||
);
|
||||
}
|
||||
|
@ -323,7 +323,7 @@ mod test {
|
|||
// Canceling a process should unpause it
|
||||
pause_process.cancel().await.expect("pause");
|
||||
assert_eq!(
|
||||
pause_process.exit_code().await.unwrap(),
|
||||
pause_process.wait().await.unwrap(),
|
||||
-(Signal::SIGTERM as i32)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue