Fast Version Control System
Go to file
Todd Zullinger c9d5e18948 Work around gpg-agent issues in the test suite
GnuPG2 requires gpg-agent and tries to start it on demand.  The agent
uses a socket for communication and the path to this socket must be
shorter than sun_path [108 characters, per unix(7)].

Adjust the location of the temporary directories used by the test suite
by passing the --root option via GIT_TEST_OPTS.

One potential downside to this is that we use mktemp to create the
directory and this will differ between builds.  If/when we want to make
our builds entirely reproducible we will need to revisit this.  With
luck, gnupg will be better behaved by that time¹.

An alternate solution I tested was to rename the two problematic tests
(t5573 and t7612).  This is a brittle solution as new tests may be added
which cause the same path length issue for gpg-agent.

Also drop the redundant killing of gpg-agent.  This doesn't break
anything but it can only slow the test suite (however slightly).

¹ A ticket was filed to improve gpg-agent's handling of long paths in
  GNUPGHOME (but it's nearly 2 years old): https://dev.gnupg.org/T2964.
2019-02-11 22:59:49 -05:00
.gitignore Check upstream GPG signatures in %prep 2016-03-27 21:31:56 -04:00
.mailmap Add .mailmap for git shortlog output 2017-11-28 21:27:36 -05:00
0001-t-lib-gpg-quote-path-to-GNUPGHOME-trustlist.txt.patch Add gnupg2-smime and perl JSON BuildRequires for tests 2019-02-11 22:59:49 -05:00
0002-t-lib-gpg-drop-redundant-killing-of-gpg-agent.patch Add gnupg2-smime and perl JSON BuildRequires for tests 2019-02-11 22:59:49 -05:00
git-cvsimport-Ignore-cvsps-2.2b1-Branches-output.patch Update to git-1.6.2.2 2009-04-04 20:47:17 +00:00
git-gui.desktop Update to git-1.6.3.2 2009-06-06 01:45:16 +00:00
git.rpmlintrc Filter rpmlint complaint about %{_emacs_version} 2018-09-11 03:06:06 -04:00
git.socket use systemd instead of xinetd (bz 737183) 2013-04-30 14:25:37 -04:00
git.spec Work around gpg-agent issues in the test suite 2019-02-11 22:59:49 -05:00
git.xinetd.in Rename %gitcoredir to %gitexecdir; upstream uses the latter 2017-11-12 13:15:13 -05:00
git@.service.in daemon: use --log-destination=stderr with systemd 2018-04-11 23:19:00 -04:00
gitweb-httpd.conf Rename gitweb httpd config file 2018-03-19 11:08:38 -04:00
gitweb.conf.in Update to git-1.6.6.1 2010-01-31 21:05:27 +00:00
gpgkey-junio.asc Update Junio's GPG key 2017-09-18 13:07:51 -04:00
print-failed-test-output print-failed-test-output: minor improvements 2019-02-11 22:47:30 -05:00
sources Update to 2.20.1 2018-12-15 00:53:32 -05:00