commit | cf2b56510da68e0ba2adbc84c04f98199860b4ae | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Wed Sep 21 08:14:20 2022 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Sep 22 01:44:28 2022 +0000 |
tree | 7b720a773aca513c9c4663937ce61ce29a9b464e | |
parent | 300c0025eff0116f945ba6d3500e7684c7b8c6eb [diff] |
cmd/govulncheck: add a -dir flag for testing When the "testmode" tag is active, add a flag that lets govulncheck read source from any directory. Update command tests to use the feature: remove the cdmodule command and replace it with an environment variable. This change will enable running the command tests in parallel. Change-Id: I6c166ee907520cebb10887835d58e9672b84d459 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/432355 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.