A nonexistent directory is sufficient.
Otherwise the tests can pick up the user's git configuration, which is
undesirable. For example, I have
[branch]
autoSetupMerge = false
which causes this test
>>> clone.create_branch('foo', 'origin/foo')
>>> clone.get_merge_branch('foo')
'origin/foo'
to fail.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \
export GIT_COMMITTER_EMAIL=$$GIT_AUTHOR_EMAIL; \
PYTHONPATH=. \
+ HOME=$(PWD)/tests-home-does-not-exist \
LC_ALL=$(TEST_LOCALE) python3 setup.py nosetests $(NOSE_OPTS)
syntax-check: