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

Function TestPwd_Command_Linux

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

Source from the content-addressed store, hash-verified

69}
70
71func TestPwd_Command_Linux(t *testing.T) {
72 if cmd := pwdCommand("Linux", nil); cmd != "pwd" {
73 t.Errorf("Linux pwd: got %q", cmd)
74 }
75}
76
77func TestPwd_Command_Windows(t *testing.T) {
78 if cmd := pwdCommand("Windows", nil); cmd != "cd" {

Callers

nothing calls this directly

Calls 1

pwdCommandFunction · 0.85

Tested by

no test coverage detected