]> Cypherpunks repositories - gostls13.git/commit
cmd/go/testdata/script: fix test failing on nocgo builders
authorManlio Perillo <manlio.perillo@gmail.com>
Wed, 12 May 2021 13:16:20 +0000 (15:16 +0200)
committerBryan C. Mills <bcmills@google.com>
Wed, 12 May 2021 14:43:27 +0000 (14:43 +0000)
commit485474d204297ce9ff2b7f6c2a2b0e048c61fb8e
tree9037d03fc61b57122d89f65145248065d51ffee7
parent1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad
cmd/go/testdata/script: fix test failing on nocgo builders

The regression test introduced in https://golang.org/cl/318770 broke the
the nocgo builders.

Update the cgo package used in the test to ensure that it can be build
both with cgo enabled and disabled.

Change-Id: Iab0486f0b85ac5e5a22fdf8a1998edd50cbb4d96
Reviewed-on: https://go-review.googlesource.com/c/go/+/319210
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/go/testdata/script/list_find_nodeps.txt