grype/test/cli
Alex Goodman afc9de6058
Fix hang when running as a subprocess (#484)
* use named pipe bit on stdin as indicator for piped input

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* ensure stdin is ignored when the CLI hints are present

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add CLI test to cover subprocess integration behavior

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* added test case for java regression

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* remove extra line in makefile

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2021-10-29 14:51:58 +00:00
..
test-fixtures Fix hang when running as a subprocess (#484) 2021-10-29 14:51:58 +00:00
cmd_test.go Silence usage and errors on root command (#462) 2021-10-20 09:50:59 -04:00
json_descriptor_test.go Silence usage and errors on root command (#462) 2021-10-20 09:50:59 -04:00
registry_auth_test.go Silence usage and errors on root command (#462) 2021-10-20 09:50:59 -04:00
sbom_input_test.go Retrieve target from directory sbom types in addition to image types (#440) 2021-10-06 13:59:36 +00:00
subprocess_test.go Fix hang when running as a subprocess (#484) 2021-10-29 14:51:58 +00:00
trait_assertions_test.go Fix hang when running as a subprocess (#484) 2021-10-29 14:51:58 +00:00
utils_test.go Fix hang when running as a subprocess (#484) 2021-10-29 14:51:58 +00:00