diff options
| author | William Woodruff | 2016-06-27 19:02:40 -0400 |
|---|---|---|
| committer | Tim D. Smith | 2016-06-27 22:56:28 -0700 |
| commit | 62d7079684cdb568600e22531c62888622a71ff1 (patch) | |
| tree | c55c1e82b0692c94eab77c8b1d06a76fb5bcfeeb /Library/Homebrew/test/testing_env.rb | |
| parent | 3e5e14a59580325faf397b48d62a52f0013a17f2 (diff) | |
| download | brew-62d7079684cdb568600e22531c62888622a71ff1.tar.bz2 | |
test: Add test for Keg#mach_o_files hardlink behavior.
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>
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 4e7089e42..6be622cc5 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -112,5 +112,13 @@ module Homebrew } refute exp.eql?(act), msg end + + def dylib_path(name) + Pathname.new("#{TEST_DIRECTORY}/mach/#{name}.dylib") + end + + def bundle_path(name) + Pathname.new("#{TEST_DIRECTORY}/mach/#{name}.bundle") + end end end |
