test-hook: Don't use extended regular expressions with grep stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Dec 2009 12:10:21 +0100
branchstable
changeset 10079 7f5a71946aaa
parent 10074 ad5ef62b5a98
child 10080 6d4fa274ae75
child 10084 4c844f16bf39
test-hook: Don't use extended regular expressions with grep Using egrep fixes failure on Solaris
tests/test-hook
--- 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