test-run-test: unset run-test specific environment variables stable
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 08 May 2015 11:32:24 -0700
branchstable
changeset 24960 65e8dac7b016
parent 24959 3c762cceedde
child 24990 015adbcd92f3
child 25069 01ad8daae5be
test-run-test: unset run-test specific environment variables Otherwise variable set for the real test run interfere with the test runner tests.
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Fri May 01 15:45:07 2015 -0700
+++ b/tests/test-run-tests.t	Fri May 08 11:32:24 2015 -0700
@@ -1,5 +1,12 @@
 This file tests the behavior of run-tests.py itself.
 
+Avoid interference from actual test env:
+
+  $ unset HGTEST_JOBS
+  $ unset HGTEST_TIMEOUT
+  $ unset HGTEST_PORT
+  $ unset HGTEST_SHELL
+
 Smoke test
 ============