# HG changeset patch # User Gregory Szorc # Date 1522888439 25200 # Node ID 3fbd8b862d6653dcae8d799facf683eaacdd5485 # Parent 9168792422a04a7915634e74ec0dd9e0f4533524 tests: work around potential repo incompatibility test-run-tests.t invokes run-tests.py. But custom extensions providing new repo requirements may be in play and may not get inherited by the new run-tests.py. We ensure our repo is created with a vanilla config to mitigate extension-caused badness. Differential Revision: https://phab.mercurial-scm.org/D3114 diff -r 9168792422a0 -r 3fbd8b862d66 tests/test-run-tests.t --- a/tests/test-run-tests.t Wed Apr 04 17:29:02 2018 -0700 +++ b/tests/test-run-tests.t Wed Apr 04 17:33:59 2018 -0700 @@ -558,7 +558,12 @@ Verify that we can try other ports =================================== - $ hg init inuse + +Extensions aren't inherited by the invoked run-tests.py. An extension +introducing a repository requirement could cause this to fail. So we force +HGRCPATH to get a clean environment. + + $ HGRCPATH= hg init inuse $ hg serve -R inuse -p $HGPORT -d --pid-file=blocks.pid $ cat blocks.pid >> $DAEMON_PIDS $ cat > test-serve-inuse.t <