aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_keg.rb
AgeCommit message (Collapse)Author
2016-11-16Reorder and rename test files.Markus Reiter
2016-11-13keg: don't rely on #to_formulaAlyssa Ross
It doesn't always work. For example, a keg could have been installed with a formula from a URL, which Homebrew now does not know how to access. Fixes #1496.
2016-10-25uninstall: go easier on the integration testsAlyssa Ross
2016-10-25Revert "keg: fallback to missing_deps if deps not in tab"Alyssa Ross
This reverts commit da1caba17c624f03fa8e6fbe59683f57fb7ac17a.
2016-10-25keg: fallback to missing_deps if deps not in tabAlyssa Ross
2016-10-25uninstall: consistent spelling of "dependent"Alyssa Ross
@ilovezfs pointed out that Homebrew generally uses "dependent", rather than "dependant".
2016-10-25uninstall: refuse when dependants still installedAlyssa Ross
Closes #934.
2016-08-06tests: fix code style issues (#587)Andrea Kao
2016-07-27test_keg: port to generic layer.Mike McQuaid
2016-06-29test: Add tests for Keg#mach_o_files link behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new tests. Closes #400. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-27Revert "test: Add test for Keg#mach_o_files hardlink behavior."Tim D. Smith
This reverts commit 62d7079684cdb568600e22531c62888622a71ff1.
2016-06-27test: Add test for Keg#mach_o_files hardlink behavior.William Woodruff
Move dylib_path and bundle_path from test_mach to testing_env to accommodate the new test. Closes #400. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-05-15Synchronize counts for link and unlink (#242)Paolo G. Giarrusso
Closes #239.
2016-01-09test_keg: add test_empty_installationXu Cheng
2015-08-17test_keg: add tests for oldname optlinkVlad Shablinsky
Closes Homebrew/homebrew#42998. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-29keg: explicitly create cmake dir under libBen Morgan
Packages supporting CMake may install configuration files for use with CMake's find_package command. A recommended location for these is `<prefix>/lib/cmake` which is not unique across packages. This may cause issues for Formula using this location when their Keg is linked. As with pkg-config, explicitly create the `lib/cmake` folder when linking a Keg that has installed folders/files to this location. Also add testcase. Closes Homebrew/homebrew#38005. Signed-off-by: Xu Cheng <xucheng@me.com>
2014-10-20Handle broken symlinks in resolve_any_conflictsJack Nagel
Fixes Homebrew/homebrew#33328.
2014-10-20Fix filesystem leak in keg testsJack Nagel
2014-07-12Handle conflicts where links point at symlinksJack Nagel
Fixes Homebrew/homebrew#30664.
2014-07-12Always link symlinks directlyJack Nagel
2014-07-03Add more tests documenting linking behaviorJack Nagel
2014-07-03Avoid chdir just to make a symlinkJack Nagel
2014-07-03Move repeated pathname into setupJack Nagel
2014-07-03Don't assign @keg twice in setupJack Nagel
2014-07-03No need to silence output from Keg#link anymoreJack Nagel
2014-07-01Flesh out linking testsJack Nagel
2014-06-30Add tests around opt linksJack Nagel
2014-06-23Use Keg#uninstall to uninstall kegsJack Nagel
2014-06-18Use assert_predicateJack Nagel
2014-06-18Switch to MinitestJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-04-21Raise AlreadyLinkedError when a keg is already linkedJack Nagel
2014-04-21Raise useful errors from make_relative_symlinkJack Nagel
2014-03-27Assert that Keg#link produces relative symlinksJack Nagel
2014-03-27Assert that the broken symlink is actually overwrittenJack Nagel
2014-03-27Don't let broken symlinks halt linkingJack Nagel
2013-08-09Always prune empty toplevel directories when unlinkingJack Nagel
Closes Homebrew/homebrew#21750.
2013-08-09Keep track of pruned parent directoriesJack Nagel
2013-08-09Add tests to demonstrate failure to prune empty directoriesJack Nagel
2013-08-09Remove hardcoded paths in keg testsJack Nagel
2013-08-09Remove keg test dependency on formulaJack Nagel
2013-05-14test_keg: reduce noise by including FileUtilsJack Nagel
2013-05-14test_keg: make mode an ivarJack Nagel
2013-05-09Overwrite broken symlinks with --overwriteDesmond Brand
Closes Homebrew/homebrew#19480. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-04-01Silence stderr in test suiteJack Nagel
2012-10-23Fix Keg testsMisty De Meo
* unreverse expected/actuals * don't assume linked file order is guaranteed - it wasn't!
2012-10-20brew ln --force is now brew ln --overwriteMisty De Meo
* Renames --force to --overwrite, freeing up brew ln --force for Homebrew/homebrew#13349 * Changes --dry-run to preview linking by default, rather than overwriting. An overwrite dry-run can be simulated via both --dry-run --overwrite * Adds some basic Keg tests