From 7eb6bd3cb76a1f223caa48681aedbb4d6ee4c7b7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 2 May 2012 18:44:06 -0500 Subject: mercurial 2.2 - add test Closes #12013. Signed-off-by: Jack Nagel --- Library/Formula/mercurial.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb index 8cef04ab9..7f5dc5715 100644 --- a/Library/Formula/mercurial.rb +++ b/Library/Formula/mercurial.rb @@ -2,8 +2,8 @@ require 'formula' class Mercurial < Formula homepage 'http://mercurial.selenic.com/' - url 'http://mercurial.selenic.com/release/mercurial-2.1.2.tar.gz' - sha1 '6fa2f2510757e3e62efa9d8953f8b703b84075b2' + url 'http://mercurial.selenic.com/release/mercurial-2.2.tar.gz' + sha1 '8d2dc0b72d0e2aef70770a9eca32154f456e8afa' head 'http://selenic.com/repo/hg', :using => :hg @@ -62,4 +62,8 @@ class Mercurial < Formula EOS end end + + def test + system "#{bin}/hg", "debuginstall" + end end -- cgit v1.2.3