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

Function TestEnv_Command_Linux

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

Source from the content-addressed store, hash-verified

95}
96
97func TestEnv_Command_Linux(t *testing.T) {
98 if cmd := envCommand("Linux", nil); cmd != "env" {
99 t.Errorf("Linux env: got %q", cmd)
100 }
101}
102
103func TestEnv_Command_Windows(t *testing.T) {
104 if cmd := envCommand("Windows", nil); cmd != "set" {

Callers

nothing calls this directly

Calls 1

envCommandFunction · 0.85

Tested by

no test coverage detected