aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_cmd_audit.rb
AgeCommit message (Collapse)Author
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-11dev-cmd/audit: fix Rubocop warnings.Mike McQuaid
2016-09-08Move developer-focused commands to dev-cmd.Mike McQuaid
2016-08-15tests: add cmd/audit unit tests (caveats, desc, homepage)Andrea Kao
2016-08-12tests: add assertion to test_simple_valid_formulaAndrea Kao
2016-08-12tests: refactor FormulaTextTests in test_cmd_auditAndrea Kao
2016-07-29test_cmd_audit: don't print compat warnings.Mike McQuaid
2016-05-02Update Homebrew/homebrew references in commentsMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-04-05test_cmd_audit: add plist testDominyk Tiller
2016-03-14audit: fix crash when HOMEBREW_NO_GITHUB_API is setBaptiste Fontaine
Running brew audit --strict --online on a formula with a GitHub homepage/url would crash if HOMEBREW_NO_GITHUB_API is set because GitHub.repository returns `nil` and the audit code assumes it always returns a hash. Closes Homebrew/homebrew#50054. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-22audit: a couple more testsBaptiste Fontaine
Closes Homebrew/homebrew#49404. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-09Audit: Regexp.escape formula namesMisty De Meo
We allow certain special regex characters in formula names, and if those aren't escaped when interpolating them into a regex, they'll be interpreted as special regex characters. This can cause regex compile errors on Ruby 1.8 (for example, with "libxml++3", which has nested match characters), and more subtle matching bugs in general. Refs an issue surfaced in Homebrew/homebrew#48744. Closes Homebrew/homebrew#49005. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-02-03tests: add audit regression test for Homebrew/homebrew#48744Baptiste Fontaine
Closes Homebrew/homebrew#48748. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-31test_cmd_audit: add resource placement testDominyk Tiller
2016-01-25tests: add pkgshare audit testsBaptiste Fontaine
Closes Homebrew/homebrew#48435. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-25testing_env: needs_compat utility addedBaptiste Fontaine
Closes Homebrew/homebrew#48302. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-25tests: cmd/audit tests addedBaptiste Fontaine