(t *testing.T)
| 121 | } |
| 122 | |
| 123 | func TestMkdir_Command_Linux(t *testing.T) { |
| 124 | cmd := mkdirCommand("Linux", &implantpb.Request{Args: []string{"/tmp/test"}}) |
| 125 | if !strings.Contains(cmd, "mkdir -p") { |
| 126 | t.Errorf("Linux mkdir: got %q", cmd) |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | func TestRm_Command_Linux(t *testing.T) { |
| 131 | cmd := rmCommand("Linux", &implantpb.Request{Args: []string{"/tmp/test"}}) |
nothing calls this directly
no test coverage detected