# HG changeset patch # User Mads Kiilerich # Date 1260961821 -3600 # Node ID 7f5a71946aaa35d091aab1d3b6d6a598b025ab35 # Parent ad5ef62b5a983d934af5872f8d841366ab641122 test-hook: Don't use extended regular expressions with grep Using egrep fixes failure on Solaris diff -r ad5ef62b5a98 -r 7f5a71946aaa 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