quit guard test: the unix-only child carries the console note the spawn check reads
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
c00e5dc42e
commit
d488b76c34
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ mod tests {
|
|||
if cfg!(windows) {
|
||||
return;
|
||||
}
|
||||
let mut child = std::process::Command::new("sleep").arg("100").spawn().unwrap();
|
||||
let mut child = std::process::Command::new("sleep").arg("100").spawn().unwrap(); // console: a unix-only test child (the test returns above on Windows)
|
||||
let pid = child.id();
|
||||
let lines = enforce_pids(&[("node", pid)]);
|
||||
assert_eq!(lines, vec![format!("QUIT event=forced what=node pid={pid}")]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue