aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/diagnostic_spec.rb
AgeCommit message (Collapse)Author
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-07-20Add updated diagnostic test for build from source check.Justin Baugh
2017-05-27diagnostic: move some more macOS doctor checks.Mike McQuaid
Move some `brew doctor` checks that are pretty macOS specific so they are only run on macOS.
2017-05-13More environment filtering tweaksMike McQuaid
- only document HOMEBREW_* variables in the manpage (although still read from all the original environment variables). - resort manpage environment variables in alphabetical order - check the original path for trailing slashes
2017-05-10diagnostic_spec.rb: check_access_lock_dir testmansimarkaur
Added assertion to check `HOMEBREW_LOCK_DIR.stat.mode` changes after `HOMEBREW_LOCK_DIR.chmod 0555`
2017-04-22Hide sensitive tokens from install/test/post.Mike McQuaid
Hide these tokens to avoid malicious subprocesses e.g. sending them over the network. Also, support using these tokens with environment filtering and clear `HOMEBREW_PATH` from subprocesses to stop them sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s PATH for e.g. `brew doctor` etc.
2017-04-07Corrected test for access_lock_dirmansimarkaur
2017-04-03Added test for check_access_lock_dirmansimarkaur
2017-02-28Add `mktmpdir` helper method.Markus Reiter
2017-02-21Convert Homebrew::Diagnostic::Checks test to spec.Markus Reiter