MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestNewTimeoutCmd_Echo3

Function TestNewTimeoutCmd_Echo3

internal/utils/exec/cmd_test.go:43–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestNewTimeoutCmd_Echo3(t *testing.T) {
44 var cmd = executils.NewCmd("echo", "-n", "hello")
45 err := cmd.Run()
46 t.Log("error:", err)
47 t.Log("stdout:", cmd.Stdout())
48 t.Log("stderr:", cmd.Stderr())
49}
50
51func TestCmd_Process(t *testing.T) {
52 var cmd = executils.NewCmd("echo", "-n", "hello")

Callers

nothing calls this directly

Calls 4

LogMethod · 0.80
StdoutMethod · 0.80
StderrMethod · 0.80
RunMethod · 0.45

Tested by

no test coverage detected