curl: test against the correct curl
curl is keg-only, and this test was running against the system curl.master
parent
bf1b00542c
commit
9b82117195
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue