(t *testing.T)
| 142 | } |
| 143 | |
| 144 | func TestMv_Command_Linux(t *testing.T) { |
| 145 | cmd := mvCommand("Linux", &implantpb.Request{Args: []string{"/a", "/b"}}) |
| 146 | if !strings.Contains(cmd, `mv "/a" "/b"`) { |
| 147 | t.Errorf("Linux mv: got %q", cmd) |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | func TestCd_Command_Linux(t *testing.T) { |
| 152 | cmd := cdCommand("Linux", &implantpb.Request{Args: []string{"/home"}}) |
nothing calls this directly
no test coverage detected