env_config: infer HOMEBREW_FORBID_PACKAGES_FROM_PATHS from HOMEBREW_DEVELOPER #30290
Annotations
11 errors
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb#L9
Homebrew::Cmd::Cache prints all cache files for a given Formula
Failure/Error:
expect { brew "--cache", testball }
.to output(%r{#{HOMEBREW_CACHE}/downloads/[\da-f]{64}--testball-}o).to_stdout
.and be_a_success
expected block to output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/downloads\/[\da-f]{64}--testball-/ to stdout, but output nothing
...and:
expected #<Proc:0x00007fdd55c75710 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cache_spec.rb:10> to be a success
Diff for (output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/dow...):
@@ -1 +1 @@
-/\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cache\/downloads\/[\da-f]{64}--testball-/
+""
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb#L16
Homebrew::Cmd::Cellar prints the Cellar for a Formula
Failure/Error:
expect { brew "--cellar", testball }
.to output(%r{#{HOMEBREW_CELLAR}/testball}o).to_stdout
.and not_to_output.to_stderr
.and be_a_success
expected block to output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/testball/ to stdout, but output nothing
...and:
expected block to not output to stderr, but output "Error: No available formula with the name \"testball\".\n"
...and:
expected #<Proc:0x00007fdd55478378 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/cmd/--cellar_spec.rb:17> to be a success
Diff for (output /\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/te...):
@@ -1 +1 @@
-/\/tmp\/homebrew-tests-20240923-4063-fi4kax\/cellar\/testball/
+""
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L638
Formulary::loader_for when given a relative path with two slashes returns a `FromPathLoader`
Failure/Error: expect(described_class.loader_for("./Formula/gcc.rb")).to be_a Formulary::FromPathLoader
expected #<Formulary::NullLoader:0x00007fdd55c3da90 @name="gcc", @path=#<Pathname:/tmp/homebrew-tests-20240923-4063-fi4kax/prefix/Library/Taps/homebrew/homebrew-core/Formula/gcc.rb>, @alias_path=nil, @tap=nil> to be a kind of Formulary::FromPathLoader
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L132
Formulary::factory without the API returns a Formula when given a URL
Failure/Error: formula = described_class.factory("file://#{formula_path}")
FormulaUnavailableError:
No available formula with the name "testball_bottle".
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L147
Formulary::factory without the API when given a bottle returns a Formula
Failure/Error: subject(:formula) { described_class.factory(bottle) }
FormulaUnavailableError:
No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L151
Formulary::factory without the API when given a bottle calling #local_bottle_path on the returned Formula returns the bottle path
Failure/Error: subject(:formula) { described_class.factory(bottle) }
FormulaUnavailableError:
No available formula with the name "testball_bottle-0.1.x86_64_linux.bottle.tar.gz".
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L552
Formulary::factory when passed a URL raises an error when given a bottle URL
Failure/Error:
expect do
described_class.factory("https://brew.sh/foo-1.0.arm64_catalina.bottle.tar.gz")
end.to raise_error(UnsupportedInstallationMethod)
expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo-1.0.arm64_catalina.bottle.tar.gz".> with backtrace:
# ./formulary.rb:898:in `get_formula'
# ./formulary.rb:1016:in `factory'
# ./test/formulary_spec.rb:554:in `block (5 levels) in <top (required)>'
# ./test/formulary_spec.rb:553:in `block (4 levels) in <top (required)>'
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L546
Formulary::factory when passed a URL raises an error when given an https URL
Failure/Error:
expect do
described_class.factory("https://brew.sh/foo.rb")
end.to raise_error(UnsupportedInstallationMethod)
expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace:
# ./formulary.rb:898:in `get_formula'
# ./formulary.rb:1016:in `factory'
# ./test/formulary_spec.rb:548:in `block (5 levels) in <top (required)>'
# ./test/formulary_spec.rb:547:in `block (4 levels) in <top (required)>'
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L558
Formulary::factory when passed a URL raises an error when given an ftp URL
Failure/Error:
expect do
described_class.factory("ftp://brew.sh/foo.rb")
end.to raise_error(UnsupportedInstallationMethod)
expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace:
# ./formulary.rb:898:in `get_formula'
# ./formulary.rb:1016:in `factory'
# ./test/formulary_spec.rb:560:in `block (5 levels) in <top (required)>'
# ./test/formulary_spec.rb:559:in `block (4 levels) in <top (required)>'
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/formulary_spec.rb#L564
Formulary::factory when passed a URL raises an error when given an sftp URL
Failure/Error:
expect do
described_class.factory("sftp://brew.sh/foo.rb")
end.to raise_error(UnsupportedInstallationMethod)
expected UnsupportedInstallationMethod, got #<FormulaUnavailableError: No available formula with the name "foo".> with backtrace:
# ./formulary.rb:898:in `get_formula'
# ./formulary.rb:1016:in `factory'
# ./test/formulary_spec.rb:566:in `block (5 levels) in <top (required)>'
# ./test/formulary_spec.rb:565:in `block (4 levels) in <top (required)>'
|
Loading