Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fix clippy::zombie_processes findings #292

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

cpu
Copy link
Member

@cpu cpu commented Nov 28, 2024

of the form:

error: spawned process is never `wait()`ed on
  --> tests/tests.rs:47:19
   |
47 |       let mut srv = server_command()
   |  ___________________^
48 | |         .arg("1337")
49 | |         .spawn()
50 | |         .expect("cannot run server example");
   | |____________________________________________^
   |
   = note: consider calling `.wait()`
   = note: not doing so might leave behind zombie processes
   = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
   = note: `-D clippy::zombie-processes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::zombie_processes)]`

@cpu cpu self-assigned this Nov 28, 2024
@cpu cpu enabled auto-merge November 28, 2024 20:23
of the form:
```
error: spawned process is never `wait()`ed on
  --> tests/tests.rs:47:19
   |
47 |       let mut srv = server_command()
   |  ___________________^
48 | |         .arg("1337")
49 | |         .spawn()
50 | |         .expect("cannot run server example");
   | |____________________________________________^
   |
   = note: consider calling `.wait()`
   = note: not doing so might leave behind zombie processes
   = note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zombie_processes
   = note: `-D clippy::zombie-processes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::zombie_processes)]`
```
@cpu
Copy link
Member Author

cpu commented Nov 28, 2024

cpu force-pushed the cpu-clippy-fix branch from 4e3c6f1 to 07e4be8

cargo fmt fix.

@cpu cpu added this pull request to the merge queue Nov 28, 2024
Merged via the queue into rustls:main with commit cbf6c96 Nov 28, 2024
11 checks passed
@cpu cpu deleted the cpu-clippy-fix branch November 28, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants