MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / TestCmd_Process

Function TestCmd_Process

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

Source from the content-addressed store, hash-verified

49}
50
51func TestCmd_Process(t *testing.T) {
52 var cmd = executils.NewCmd("echo", "-n", "hello")
53 err := cmd.Run()
54 t.Log("error:", err)
55 t.Log(cmd.Process())
56}
57
58func TestNewTimeoutCmd_String(t *testing.T) {
59 var cmd = executils.NewCmd("echo", "-n", "hello")

Callers

nothing calls this directly

Calls 3

LogMethod · 0.80
RunMethod · 0.45
ProcessMethod · 0.45

Tested by

no test coverage detected