diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -689,6 +689,10 @@ class Test(unittest.TestCase): hgrc.write('commit = -d "0 0"\n') hgrc.write('shelve = --date "0 0"\n') hgrc.write('tag = -d "0 0"\n') + hgrc.write('[largefiles]\n') + hgrc.write('usercache = %s\n' % + (os.path.join(self._testtmp, '.cache/largefiles'))) + for opt in self._extraconfigopts: section, key = opt.split('.', 1) assert '=' in key, ('extra config opt %s must ' diff --git a/tests/test-basic.t b/tests/test-basic.t --- a/tests/test-basic.t +++ b/tests/test-basic.t @@ -5,6 +5,7 @@ Create a repository: defaults.commit=-d "0 0" defaults.shelve=--date "0 0" defaults.tag=-d "0 0" + largefiles.usercache=$TESTTMP/.cache/largefiles (glob) ui.slash=True ui.interactive=False ui.mergemarkers=detailed diff --git a/tests/test-commandserver.t b/tests/test-commandserver.t --- a/tests/test-commandserver.t +++ b/tests/test-commandserver.t @@ -178,6 +178,7 @@ check that local configs for the cached defaults.commit=-d "0 0" defaults.shelve=--date "0 0" defaults.tag=-d "0 0" + largefiles.usercache=$TESTTMP/.cache/largefiles ui.slash=True ui.interactive=False ui.mergemarkers=detailed