Mercurial > hg-stable
changeset 17166:c1a3b151782a
tests: do exclude what is expected
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Wed, 04 Jul 2012 08:55:16 +0200 |
parents | 249cc4ec4327 |
children | 5f131ae05905 |
files | tests/test-hook.t |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hook.t Fri Jul 06 00:48:45 2012 +0200 +++ b/tests/test-hook.t Wed Jul 04 08:55:16 2012 +0200 @@ -543,7 +543,7 @@ $ echo 'precommit.importfail = python:importfail.whatever' >> .hg/hgrc $ echo a >> a - $ hg --traceback commit -ma 2>&1 | egrep '^(exception|Traceback|ImportError)' + $ hg --traceback commit -ma 2>&1 | egrep -v '^( +File| {4}[a-zA-Z(])' exception from first failed import attempt: Traceback (most recent call last): ImportError: No module named somebogusmodule @@ -551,6 +551,8 @@ Traceback (most recent call last): ImportError: No module named hgext_importfail Traceback (most recent call last): + Abort: precommit.importfail hook is invalid (import of "importfail" failed) + abort: precommit.importfail hook is invalid (import of "importfail" failed) Issue1827: Hooks Update & Commit not completely post operation