Skip to content

Commit

Permalink
cmd/govulncheck: update test file for main module vulnerabilities
Browse files Browse the repository at this point in the history
As of https://go-review.git.corp.google.com/c/go/+/596035, go command
adds a version for a Go binary, not always defaulting to devel. That
causes a devel test to fail at go tip builders. This CL adds an explicit
binary with devel version rather than the test building its own binary.
Once the new Go version with the above fix is released, we'll add
another test.

Change-Id: I409d18c85a0fad9b424771bd330067ac987d4830
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/605855
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Cottrell <[email protected]>
  • Loading branch information
zpavlinovic committed Aug 22, 2024
1 parent ffdef74 commit ff56115
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#####
# Test no vulnerabilities in main module with devel version.
$ govulncheck -mode=binary ${main_vuln_binary}
$ govulncheck -mode=binary ${moddir}/vuln/vuln_main_devel
No vulnerabilities found.


Expand Down

0 comments on commit ff56115

Please sign in to comment.