MCPcopy Create free account
hub / github.com/gogs/gogs / TestExecHelper

Function TestExecHelper

internal/testutil/exec_test.go:11–22  ·  view source on GitHub ↗
(_ *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestExecHelper(_ *testing.T) {
12 if !WantHelperProcess() {
13 return
14 }
15
16 if os.Getenv("PASS") != "1" {
17 fmt.Fprintln(os.Stdout, "tests failed")
18 os.Exit(1)
19 }
20
21 fmt.Fprintln(os.Stdout, "tests succeed")
22}
23
24func TestExec(t *testing.T) {
25 tests := []struct {

Callers

nothing calls this directly

Calls 1

WantHelperProcessFunction · 0.85

Tested by

no test coverage detected