chiark / gitweb /
Makefile: Set HOME when running tests
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 13:52:28 +0000 (14:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 14:17:27 +0000 (15:17 +0100)
commit8df9c5df4e01c34fac368840ab78fb592461e73b
tree0b778d6ea73fcd7b6f2e95cb3014d52b19e2dcf1
parent646c33a7c86e5d2a5532a9b67396a80a963b029c
Makefile: Set HOME when running tests

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>
Makefile