changeset 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 ad5ef62b5a98
children 6d4fa274ae75 4c844f16bf39
files tests/test-hook
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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