aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2017-12-08Remove some unset/checked environment checksMike McQuaid
These will be redundant once environment filtering is on by default in #3529.
2017-12-07formula_installer: avoid irrelevant build deps.Mike McQuaid
If dependents are already installed ensure their build dependencies (and requirements) don't end up in the dependency/requirement tree. Fixes #3033.
2017-12-03Merge pull request #3522 from reitermarkus/caskroomMarkus Reiter
Remove unused writer methods for `Hbc.caskroom` and `Hbc.cache`.
2017-12-03x11_requirement: remove custom minimum version.Mike McQuaid
This isn't desired or needed. Ensure older code still works, though.
2017-12-03Merge pull request #3515 from sjackman/popenMike McQuaid
Utils.popen_read: Nonexistent program should fail
2017-12-03Also remove writer method for `Hbc.binarydir`.Markus Reiter
2017-12-03Remove unused writer methods for `Hbc.caskroom` and `Hbc.cache`.Markus Reiter
2017-12-02Utils.popen_read: Nonexistent program should failShaun Jackman
Ensure that $CHILD_STATUS.success? is false when the command does not exist.
2017-12-02Merge pull request #3518 from GauthamGoli/audit_bug_fixMike McQuaid
lines_cop: Convert ARGV audit to negative look ahead
2017-12-02Fix a test failure when svn is not installedShaun Jackman
2017-12-02lines_cop: Convert ARGV audit to negative look aheadGautham Goli
2017-12-01hooks/bottles: remove bottle hooks.Mike McQuaid
These were removed from Boxen in: https://github.com/boxen/puppet-homebrew/pull/108
2017-11-29cleaner_spec: have a single "cleans files" test.Mike McQuaid
This avoids noting the the Linux test as "pending" on Mac.
2017-11-28Test upgrade for Casks with version :latestL. E. Segovia
2017-11-27Merge pull request #3396 from amyspark/hacktoberfest-upgradeMarkus Reiter
Implement `brew cask upgrade`
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-27Remove redundant --greedyL. E. Segovia
2017-11-27Implement more of @reitermarkus's commentsL. E. Segovia
- Include tests in context - replace 'route' with 'path' - more assorted fixes
2017-11-26Add test fixtures for ELF executablesBob W. Hogg
Add test/support/fixtures/elf/ and test/support/fixtures/tarballs/testball-0.1-linux.tbz
2017-11-25Add CVSRequirement and SubversionRequirementShaun Jackman
Use these two requirements in DependencyCollector. Remove the unused function MacOS::Xcode.provides_cvs?
2017-11-24Load Casks only once (and fix style issues)L. E. Segovia
2017-11-24Implement more of @reitermarkus's commentsL. E. Segovia
- Simplify outdated Casks checks - Make use of RSpec's let(:) and .and syntax
2017-11-22Change the generic bottle tag to processor-systemShaun Jackman
2017-11-22Upgrade an outdated Cask just by name, no need for --greedyL. E. Segovia
2017-11-20Merge pull request #3258 from Git-Jiro/improve_internal_stanza_command1.3.8Markus Reiter
improve 'brew cask _stanza' by checking for known stanzas
2017-11-17diagnostic: fix paths usage.Mike McQuaid
- Don't allow taking an argument. This doesn't work and never has as it caches the result regardless of the argument. - Don't rely on the PATH to check for external commands.
2017-11-16Implement @reitermarkus's commentsL. E. Segovia
- Split move into a move_back (and clarify when it is used) - Remove unused flags - Raise error if installed Caskfile not found - Error out if an upgrade fails - Remove some defensive programming checks
2017-11-13Add tests for upgrade recoveryL. E. Segovia
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-10Add line break to stringMartin Schimandl
2017-11-10Refactor code to reduce characters per lineMartin Schimandl
2017-11-10internal_stanza.rb: Remove obsolete code. Improve detection of missing stanzasMartin Schimandl
internal_stanza_spec.rb: change do ... end blocks to { } blocks
2017-11-10Add another test to increase coverage.Martin Schimandl
2017-11-10combine errors to a single if-statement. fix spec testMartin Schimandl
2017-11-10Fix 'brew style' issuesMartin Schimandl
2017-11-10Change behaviour of 'cask _stanza' command. Add tests for 'cask _stanza' commandMartin Schimandl
2017-11-10Fix reinstall/uninstall testsL. E. Segovia
2017-11-10Remove more uses of EOS.undent.Mike McQuaid
2017-11-10Merge pull request #3292 from claui/add-audit-test-casesMike McQuaid
Add tests for `FormulaAuditor#audit_deps`
2017-11-08Fix upgrade tests and some upgrade? leftoversL. E. Segovia
2017-11-05spec_helper: fix etc leak.Mike McQuaid
Fix the `etc/bash_completion.d/_brew_services` leak from the new bash completion in the Homebrew/homebrew-services tap.
2017-11-03Merge pull request #3395 from GauthamGoli/parameters-audit-regex-fixMike McQuaid
lines_cop: Update regex patterns to prevent false positives
2017-11-03Merge pull request #3385 from MikeMcQuaid/path-fixes-cleanupMike McQuaid
Fix and cleanup some PATH usage.
2017-11-03requirement: prepend rather than append PATH.Mike McQuaid
Otherwise this ends up behind e.g. `/usr/bin` so is pretty useless.
2017-11-03Merge pull request #3389 from amyspark/hacktoberfest-single-zapMarkus Reiter
Check that a single uninstall_* and zap stanza is defined
2017-10-31Separate do end into multiple linesL. E. Segovia
2017-10-31text_cop_spec: update go get testsDominyk Tiller
2017-10-30Add tests for uninstall_* and zap stanzasL. E. Segovia
2017-10-30Merge pull request #3393 from MikeMcQuaid/with_env_tweaksMike McQuaid
Tweak use of with_env
2017-10-29Hack a first working version of upgradeL. E. Segovia