tests: disable gpgsign in the git configuration

If the person running the tests has a global configuration to sign git
commits, this breaks the testsuite which looks for a key capable of
committing dummy data under a dummy author

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
This commit is contained in:
Eli Schwartz 2019-02-08 11:06:41 -05:00
parent 96bc86d153
commit 07e70690e1
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6

View file

@ -141,6 +141,7 @@ export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
mkdir aur.git mkdir aur.git
cd aur.git cd aur.git
git init -q git init -q
git config --local commit.gpgsign false
git checkout -q --orphan refs/namespaces/foobar/refs/heads/master git checkout -q --orphan refs/namespaces/foobar/refs/heads/master