blob: 00791660bf1746497857ef3ac2bccd4387d4792e [file] [log] [blame]
#####
# Test of invalid input to -mode
$ govulncheck -mode=invalid ./... --> FAIL 2
"invalid" is not a valid mode
#####
# Test of trying to run -json with -v flag
$ govulncheck -C ${moddir}/vuln -show=traces -json . --> FAIL 2
the -show flag is not supported for JSON output
#####
# Test of invalid input to -scan
$ govulncheck -scan=invalid ./... --> FAIL 2
"invalid" is not a valid scan level