Skip to content

Fix running Gitaly tests during interactive rebases

Patrick Steinhardt requested to merge pks-tests-with-rebase into master

It's quite easy to wreak havoc on the Gitaly repository by doing git rebase -x "make test" origin/master: because git-rebase(1) sets up a bunch of envvars which cause other Git processes to pick up the originating repo as their own repo, many Git commands we spawn in our test suite will now run inside of the Gitaly repo.

Fix this by unexporting relevant envvars in both our Makefile and in testhelper.Configure().

Merge request reports