aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_mach.rb
AgeCommit message (Collapse)Author
2016-07-27test_mach: make OS X specific.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>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-18Use assert_predicateJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-06-10Rename TEST_FOLDER to TEST_DIRECTORYJack Nagel
2014-06-10Scope setup to the tests that need itJack Nagel
2014-06-10Add methods for building test file pathsJack Nagel
2014-06-10Trust the fixtures and stop asserting on file(1) outputJack Nagel
2014-06-10Pull common code into setup methodJack Nagel
2014-06-04Clean up some test assertionsJack Nagel
2013-08-15Mach: improve testsMisty De Meo
2013-06-01test_mach: move helper method out of global namespaceJack Nagel
2013-03-28Suppress ambiguous argument and grouped expression warningsJack Nagel
2012-08-30tests: avoid unnecessary chdirJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04tests: clean up whitespaceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Prune some requires from test filesJack Nagel
testing_env already requires utils; set up the ARGV and ENV extensions there as well. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Teach Mach-O machinery about bundlesJack Nagel
c.f. Homebrew/homebrew#12810. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-15Improve Pathname#text_executable? regexpJack Nagel
file(1) does not allow leading whitespace on shebang lines, and there appears to be no restrictions on what characters follow '#!', either. While at it, fix an erroneous shebang test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30archs_for_command: use new Mach-O Pathname methodsJack Nagel
- Reimplement archs_for_command on top of the new Mach-O methods - Move ArchitectureListExtension to mach.rb - Add a test for the ArchitectureListExtension Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30Pathname: add Mach-O moduleJack Nagel
The MachO module contains methods for learning about Mach-O binaries, and can be used where one might normally shell out to file(1). Signed-off-by: Jack Nagel <jacknagel@gmail.com>