curl: test against the correct curl
curl is keg-only, and this test was running against the system curl.
This commit is contained in:
parent
bf1b00542c
commit
9b82117195
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class Curl < Formula
|
|||
# Fetch the curl tarball and see that the checksum matches.
|
||||
# This requires a network connection, but so does Homebrew in general.
|
||||
filename = (testpath/"test.tar.gz")
|
||||
system "curl", stable.url, "-o", filename
|
||||
system "#{bin}/curl", stable.url, "-o", filename
|
||||
filename.verify_checksum stable.checksum
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue