Fixes #68283
Change-Id: Ia6af550f0fc232e4ae6f7ea96370138e958aaca2
GitHub-Last-Rev:
206ce8b0d9309e09c7b482d3e0f42a8f47474936
GitHub-Pull-Request: golang/go#68324
Reviewed-on: https://go-review.googlesource.com/c/go/+/596935
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
[!exec:pkg-config] skip 'test requires pkg-config tool'
! go list -export .
-stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*Package .* not found'
+# 'Package .* not found appears' in pkg-config and pkgconf; while
+# 'could not find package .*' appears in u-config. See #68283.
+stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)'
-- go.mod --
module example