* tests/test-vc-list-files-git.sh (GIT_CONFIG_GLOBAL): Set it to /dev/null.
+2022-11-13 Simon Josefsson <simon@josefsson.org>
+
+ vc-list-files-tests: Avoid OpenPGP private key operations.
+ * tests/test-vc-list-files-git.sh (GIT_CONFIG_GLOBAL): Set it to
+ /dev/null.
+
2022-10-31 Simon Josefsson <simon@josefsson.org>
maintainer-makefile: Fix Apple Xcode 'make syntax-check'.
tmpdir=vc-git-$$
GIT_DIR= GIT_WORK_TREE=; unset GIT_DIR GIT_WORK_TREE
+# Ignore local git configurations that may interact badly with
+# commands below. For example, if the user has set
+# commit.gpgsign=true in ~/.gitconfig the 'git commit' below will
+# require a OpenPGP private key operation which trigger PIN prompts
+# and unwanted hardware access on the developer's machine.
+GIT_CONFIG_GLOBAL=/dev/null; export GIT_CONFIG_GLOBAL
+
fail=1
mkdir $tmpdir && cd $tmpdir &&
# without git, skip the test