Skip to content

Commit d3a28fc

Browse files
SMillerDevBrewTestBot
authored andcommitted
oras: specify bin in test
1 parent 159e2ea commit d3a28fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/oras.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def install
4444

4545
# Although it might not make much sense passing the JSON as both manifest and payload,
4646
# it helps make the test consistent as the error can randomly switch between either hash
47-
output = shell_output("oras push localhost:#{port}/test-artifact:v1 " \
47+
output = shell_output("#{bin}/oras push localhost:#{port}/test-artifact:v1 " \
4848
"--config test.json:application/vnd.homebrew.test.config.v1+json " \
4949
"./test.json 2>&1", 1)
5050
assert_match "#{port}: connect: connection refused", output

0 commit comments

Comments
 (0)