run-tests: make sure GREP_OPTIONS isn't set
authorBrodie Rao <brodie@bitheap.org>
Mon, 22 Mar 2010 01:36:12 -0400
changeset 10750 92ff2d0b751a
parent 10746 16b9aa398c28
child 10752 53313405b54d
run-tests: make sure GREP_OPTIONS isn't set This can interfere with test output, especially for options like --color.
tests/run-tests.py
--- a/tests/run-tests.py	Sat Mar 20 10:01:56 2010 -0500
+++ b/tests/run-tests.py	Mon Mar 22 01:36:12 2010 -0400
@@ -842,6 +842,7 @@
     os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>"
     os.environ['CDPATH'] = ''
     os.environ['COLUMNS'] = '80'
+    os.environ['GREP_OPTIONS'] = ''
     os.environ['http_proxy'] = ''
 
     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE