(t *testing.T)
| 107 | } |
| 108 | |
| 109 | func TestKill_Command_Linux(t *testing.T) { |
| 110 | cmd := killCommand("Linux", &implantpb.Request{Args: []string{"1234"}}) |
| 111 | if cmd != "kill -9 1234" { |
| 112 | t.Errorf("Linux kill: got %q", cmd) |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | func TestKill_Command_Windows(t *testing.T) { |
| 117 | cmd := killCommand("Windows", &implantpb.Request{Args: []string{"1234"}}) |
nothing calls this directly
no test coverage detected