(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestPs_Command_Linux(t *testing.T) { |
| 30 | cmd := psCommand("Linux", &implantpb.Request{}) |
| 31 | if !strings.Contains(cmd, "ps -eo") { |
| 32 | t.Errorf("Linux ps should use ps -eo, got: %s", cmd) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func TestPs_Command_Windows(t *testing.T) { |
| 37 | cmd := psCommand("Windows", &implantpb.Request{}) |
nothing calls this directly
no test coverage detected