Commit cbf6c96
committed
tests: fix clippy::zombie_processes findings
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)]`
```1 parent 03fe2db commit cbf6c96
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
0 commit comments