diff options
author | Antonio Terceiro <terceiro@debian.org> | 2022-04-23 09:37:41 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2022-04-23 15:47:33 +0200 |
commit | 0dfc259b11fc96ba63bfd644ebd7034b66b5d382 (patch) | |
tree | a88a636c1fd0a7e15f47c49d7954157800bf9e6e | |
parent | 5dcd753cb795663a88fbe96a33e88dc8865fe835 (diff) |
tests: set HOME to an unexisting directory
The test suite contains several assumptions about the global git
configuration, including but not limited to the default branch name
being `master`. By running the tests against a unexisting HOME, git will
not load the user configuration and instead use all the git defaults.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ all+net: $(MAKE) GBP_NETWORK_TESTS=1 all test: + export HOME=/nonexisting; \ export GIT_AUTHOR_NAME="Gbp Tests"; \ export GIT_AUTHOR_EMAIL=tests@example.com; \ export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \ |