From 9b8211719573ba94d687ca0eb3d458e277a77f15 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 2 Apr 2014 09:50:44 -0500 Subject: [PATCH] curl: test against the correct curl curl is keg-only, and this test was running against the system curl. --- Formula/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/curl.rb b/Formula/curl.rb index e109a912e7..379874221f 100644 --- a/Formula/curl.rb +++ b/Formula/curl.rb @@ -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