diff options
| author | Markus Reiter | 2017-04-21 14:50:23 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-04-21 14:52:35 +0200 |
| commit | 5c51c4e23b78acc2a87e0553e78e86d7083945a5 (patch) | |
| tree | ccd626ed08d1b75fa7ecabdd6f5007cc602be8d4 /Library/Homebrew/test/support | |
| parent | 13c33f561ecfbbeaeb87e1eed3092beca22e5346 (diff) | |
| download | brew-5c51c4e23b78acc2a87e0553e78e86d7083945a5.tar.bz2 | |
Fix test for `chmod +x` on binaries.
Diffstat (limited to 'Library/Homebrew/test/support')
| -rw-r--r-- | Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb | 9 | ||||
| -rw-r--r-- | Library/Homebrew/test/support/fixtures/cask/naked_non_executable | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb new file mode 100644 index 000000000..4bd2f0882 --- /dev/null +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb @@ -0,0 +1,9 @@ +cask 'with-non-executable-binary' do + version '1.2.3' + sha256 'd5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2' + + url "file://#{TEST_FIXTURE_DIR}/cask/naked_non_executable" + homepage 'http://example.com/with-binary' + + binary "naked_non_executable" +end diff --git a/Library/Homebrew/test/support/fixtures/cask/naked_non_executable b/Library/Homebrew/test/support/fixtures/cask/naked_non_executable new file mode 100644 index 000000000..039e4d006 --- /dev/null +++ b/Library/Homebrew/test/support/fixtures/cask/naked_non_executable @@ -0,0 +1,2 @@ +#!/bin/sh +exit 0 |
