MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestMv_Command_Linux

Function TestMv_Command_Linux

internal/bridge/module_shell_test.go:144–149  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

142}
143
144func 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
151func TestCd_Command_Linux(t *testing.T) {
152 cmd := cdCommand("Linux", &implantpb.Request{Args: []string{"/home"}})

Callers

nothing calls this directly

Calls 1

mvCommandFunction · 0.85

Tested by

no test coverage detected