]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: relax the regular expression of TestScript/list_pkgconfig_error
authorqiulaidongfeng <2645477756@qq.com>
Fri, 27 Sep 2024 18:37:20 +0000 (02:37 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 3 Oct 2024 17:58:12 +0000 (17:58 +0000)
Fixes #68283

Change-Id: I63bd128bd10565ce16a13b5a60d813368db26f26
Reviewed-on: https://go-review.googlesource.com/c/go/+/616339
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/go/testdata/script/list_pkgconfig_error.txt

index f554d2a4ed62581eb1a4c657e8b03bcc6d991915..c0e91a581504185ef37bc95a4a3a3d1f32ed3fde 100644 (file)
@@ -2,7 +2,7 @@
 [!exec:pkg-config] skip 'test requires pkg-config tool'
 
 ! go list -export .
-stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*Package .* not found'
+stderr '^# example\n# \[pkg-config .*\]\n(.*\n)*(Package .* not found)|(could not find package .*)'
 
 -- go.mod --
 module example