Mercurial > hg
diff tests/test-hook @ 10079:7f5a71946aaa stable
test-hook: Don't use extended regular expressions with grep
Using egrep fixes failure on Solaris
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 16 Dec 2009 12:10:21 +0100 |
parents | 9e7b2c49d25d |
children | 0e64d814d7d0 |
line wrap: on
line diff
--- a/tests/test-hook Tue Dec 15 10:44:10 2009 -0600 +++ b/tests/test-hook Wed Dec 16 12:10:21 2009 +0100 @@ -260,6 +260,6 @@ echo 'precommit.importfail = python:importfail.whatever' >> .hg/hgrc echo a >> a -hg --traceback commit -Ama 2>&1 | grep '^\(exception\|Traceback\|ImportError\)' +hg --traceback commit -Ama 2>&1 | egrep '^(exception|Traceback|ImportError)' exit 0