Debian Codegraph @

debian/patches/0019-Use-GO111MODULE-on-for-TestScript.patch

raw symbols SCIP
1 Fromscip-debian debian golang-golang-x-tools 1:0.46.0+ds-1 golang-golang-x-tools/patches/`0019-Use-GO111MODULE-on-for-TestScript.patch`#From.: "Dr. Tobias Quathamer" <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian golang-golang-x-tools 1:0.46.0+ds-1 golang-golang-x-tools/patches/`0019-Use-GO111MODULE-on-for-TestScript.patch`#Date.: Thu, 5 Feb 2026 14:59:58 +0100
3 Subjectscip-debian debian golang-golang-x-tools 1:0.46.0+ds-1 golang-golang-x-tools/patches/`0019-Use-GO111MODULE-on-for-TestScript.patch`#Subject.: Use GO111MODULE=on for TestScript()
4
5 ---
6 go/analysis/internal/checker/fix_test.go | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/go/analysis/internal/checker/fix_test.goscip-debian debian golang-golang-x-tools 1:0.46.0+ds-1 golang-golang-x-tools/upstream/`go/analysis/internal/checker/fix_test.go`: b/go/analysis/internal/checker/fix_test.goscip-debian debian golang-golang-x-tools 1:0.46.0+ds-1 golang-golang-x-tools/upstream/`go/analysis/internal/checker/fix_test.go`:
10 index 984a410..cce40ac 100644
11 --- a/go/analysis/internal/checker/fix_test.go
12 +++ b/go/analysis/internal/checker/fix_test.go
13 @@ -239,7 +239,7 @@ func TestScript(t *testing.T) {
14 cmd.Dir = dir
15 cmd.Stdout = new(strings.Builder)
16 cmd.Stderr = new(strings.Builder)
17 - cmd.Env = append(os.Environ(), "CHECKER_TEST_CHILD=1", "GOPROXY=off")
18 + cmd.Env = append(os.Environ(), "CHECKER_TEST_CHILD=1", "GOPROXY=off", "GO111MODULE=on", "GOCACHE=/tmp")
19 if err := cmd.Run(); err != nil {
20 if err, ok := err.(*exec.ExitError); ok {
21 lastExitCode = err.ExitCode()