(t *testing.T)
| 170 | } |
| 171 | |
| 172 | func TestChmod_Command_Windows(t *testing.T) { |
| 173 | cmd := chmodCommand("Windows", &implantpb.Request{Args: []string{"755", "C:\\app.exe"}}) |
| 174 | if !strings.Contains(cmd, "not supported") { |
| 175 | t.Errorf("Windows chmod should say not supported, got: %q", cmd) |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | // --------------------------------------------------------------------------- |
| 180 | // Response builder tests |
nothing calls this directly
no test coverage detected