guix-kreyren/guix/tests
Ludovic Courtès 3c91f00341
tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.
Fixes <https://bugs.gnu.org/37679>.
Reported by Gábor Boskovits <boskovits@gmail.com>.

* guix/tests/git.scm (call-with-environment-variables): New procedure.
(with-environment-variables): New macro.
(populate-git-repository)[git]: Wrap (git-command) invocation in
'call-with-temporary-directory' and 'with-environment-variables'.
2020-04-19 13:27:06 +02:00
..
git.scm tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config. 2020-04-19 13:27:06 +02:00
http.scm challenge: Add "--diff". 2019-12-12 17:56:58 +01:00