crash.software
Projects
Pull Requests
Issues
Builds
grype
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
grype
Files
🤬
Sign In
7614621b
ROOT
/
test
/
cli
/
utils_test.go
Search
History
158 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
getFixtureImage
(tb testing.TB, fixtureImageName string)
:
string
getGrypeCommand
(tb testing.TB, args ...string)
:
*exec.Cmd
getGrypeSnapshotLocation
(tb testing.TB, goOS string)
:
string
getDockerRunCommand
(tb testing.TB, args ...string)
:
*exec.Cmd
runGrype
(tb testing.TB, env map[string]string, args ...string)
:
(*exec.Cmd, string, string)
runCommand
(cmd *exec.Cmd, env map[string]string)
:
(string, string)
envMapToSlice
(env map[string]string)
:
(envList []string)
repoRoot
(tb testing.TB)
:
string
attachFileToCommandStdin
(tb testing.TB, file io.Reader, command *exec.Cmd)
assertCommandExecutionSuccess
(t testing.TB, cmd *exec.Cmd)
testWithTimeout
(t *testing.T, name string, timeout time.Duration, test func(*testing.T))
All occurrences
Please wait...
Page is in error, reload to recover