[tools] go/packages: match the Plan 9 error for a missing driver

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Jun 26, 2026, 2:34:12 PM (yesterday) Jun 26
to David du Colombier, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, golang...@luci-project-accounts.iam.gserviceaccount.com, Alan Donovan, Michael Matloob, Michael Matloob, Richard Miller, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
go/packages: match the Plan 9 error for a missing driver

TestDriver checks that loading with a nonexistent
GOPACKAGESDRIVER fails with an error matching "no
such file" or "file does not exist".

On Plan 9, the error is "... does not exist", so
add that to the expected pattern.
Change-Id: I4b1e29c93da1bed135cc57f39eaf8df5a4a4bbdc
Reviewed-by: Alan Donovan <adon...@google.com>
Reviewed-by: Michael Matloob <mat...@google.com>
Auto-Submit: Alan Donovan <adon...@google.com>
Reviewed-by: Michael Matloob <mat...@golang.org>
Files:
  • M go/packages/packages_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I4b1e29c93da1bed135cc57f39eaf8df5a4a4bbdc
Gerrit-Change-Number: 794841
Gerrit-PatchSet: 2
Gerrit-Owner: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages