curl: test against the correct curl

curl is keg-only, and this test was running against the system curl.
This commit is contained in:
Jack Nagel 2014-04-02 09:50:44 -05:00
parent bf1b00542c
commit 9b82117195

View file

@ -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