(t *testing.T)
| 20 | } |
| 21 | |
| 22 | func TestNetstat_Command_Windows(t *testing.T) { |
| 23 | cmd := netstatCommand("Windows", &implantpb.Request{}) |
| 24 | if cmd != "netstat -ano" { |
| 25 | t.Errorf("Windows netstat: got %q, want %q", cmd, "netstat -ano") |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func TestPs_Command_Linux(t *testing.T) { |
| 30 | cmd := psCommand("Linux", &implantpb.Request{}) |
nothing calls this directly
no test coverage detected