mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

- Refuse to create bottles which have non-relocatable references to `HOMEBREW_LIBRARY`. This allows us to make all bottles ignore where `HOMEBREW_REPOSITORY` is (even those that aren't `cellar :any`). I cannot see any circumstances in which any bottle should link to anything within `HOMEBREW_REPOSITORY`. - Remove audit that becomes unnecessary given the above change. - Relocate references to `@HOMEBREW_LIBRARY@` but don't actually write any references yet. This will allow us to move to using `@HOMEBREW_LIBRARY` and remove all relocation of `HOMEBREW_REPOSITORY` in a future release (2.7.1, most likely).
12 lines
293 B
Ruby
12 lines
293 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
describe "brew", :integration_test do
|
|
it "does not invoke `require \"formula\"` at startup" do
|
|
expect { brew "verify-formula-undefined" }
|
|
.to not_to_output.to_stdout
|
|
.and not_to_output.to_stderr
|
|
.and be_a_success
|
|
end
|
|
end
|