(t *testing.T, name, dir string)
| 73 | } |
| 74 | |
| 75 | func (p TestNetworkingProcess) CapturePackets(t *testing.T, name, dir string) { |
| 76 | dumpfile := path.Join(dir, name+".pcap") |
| 77 | _, _ = ExecBackground(t, name+".pcap", p.NetNS, "tcpdump", []string{ |
| 78 | "-i", "any", |
| 79 | "-w", dumpfile, |
| 80 | }) |
| 81 | } |
| 82 | |
| 83 | // NetworkingLoopback creates a network namespace with a loopback interface |
| 84 | // for all tests to share. This is the simplest networking setup. The network |
nothing calls this directly
no test coverage detected