curl: test against the correct curl

curl is keg-only, and this test was running against the system curl.
master
Jack Nagel 2014-04-02 09:50:44 -05:00
parent bf1b00542c
commit 9b82117195
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class Curl < Formula
# Fetch the curl tarball and see that the checksum matches. # Fetch the curl tarball and see that the checksum matches.
# This requires a network connection, but so does Homebrew in general. # This requires a network connection, but so does Homebrew in general.
filename = (testpath/"test.tar.gz") filename = (testpath/"test.tar.gz")
system "curl", stable.url, "-o", filename system "#{bin}/curl", stable.url, "-o", filename
filename.verify_checksum stable.checksum filename.verify_checksum stable.checksum
end end
end end