Commit e43a84b
tests: Add macro for running UDP "echo" service.
Tests that required "UDP echo" service used custom logic to ensure
that the "nc" process and all of its children got killed on the cleanup.
This change extracts that custom logic into a reusable macro
NETNS_START_UDP_ECHO.
Signed-off-by: Martin Kalcok <martin.kalcok@gmail.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ales Musil <amusil@redhat.com>
(cherry picked from commit 5767fe5)1 parent 3888f89 commit e43a84b
2 files changed
Lines changed: 27 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
181 | 202 | | |
182 | 203 | | |
183 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4565 | 4565 | | |
4566 | 4566 | | |
4567 | 4567 | | |
4568 | | - | |
4569 | | - | |
4570 | | - | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
4571 | 4571 | | |
4572 | | - | |
4573 | | - | |
4574 | | - | |
4575 | 4572 | | |
4576 | 4573 | | |
4577 | | - | |
4578 | | - | |
4579 | | - | |
4580 | | - | |
4581 | 4574 | | |
4582 | 4575 | | |
4583 | 4576 | | |
| |||
4764 | 4757 | | |
4765 | 4758 | | |
4766 | 4759 | | |
4767 | | - | |
4768 | | - | |
4769 | | - | |
| 4760 | + | |
| 4761 | + | |
| 4762 | + | |
4770 | 4763 | | |
4771 | | - | |
4772 | | - | |
4773 | | - | |
4774 | 4764 | | |
4775 | 4765 | | |
4776 | | - | |
4777 | | - | |
4778 | | - | |
4779 | | - | |
4780 | 4766 | | |
4781 | 4767 | | |
4782 | 4768 | | |
| |||
0 commit comments