Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 9913:e3237af51def stable
run-tests: always set $COLUMNS, fix running tests under emacs shell
fix tests failure reported by Neal Becker.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 23 Nov 2009 22:45:36 +0100 |
parents | be574a37a8ae |
children | f139814d20b3 251812d34c08 |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Nov 23 22:08:59 2009 +0100 +++ b/tests/run-tests.py Mon Nov 23 22:45:36 2009 +0100 @@ -785,6 +785,7 @@ os.environ['TZ'] = 'GMT' os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>" os.environ['CDPATH'] = '' + os.environ['COLUMNS'] = '80' global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE TESTDIR = os.environ["TESTDIR"] = os.getcwd()