summaryrefslogtreecommitdiff
path: root/lockfile.h
diff options
context:
space:
mode:
authorLibravatar Santiago Torres <santiago@nyu.edu>2017-07-20 17:05:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-20 15:46:20 -0700
commit29ff1f8f7493ecd5b90521adff6ed523d61ec73f (patch)
treea7a5d562819e5d7feb170fefbc64077adcff8955 /lockfile.h
parentGit 2.13.3 (diff)
downloadtgif-29ff1f8f7493ecd5b90521adff6ed523d61ec73f.tar.xz
t: lib-gpg: flush gpg agent on startup
When running gpg-relevant tests, a gpg-daemon is spawned for each GNUPGHOME used. This daemon may stay running after the test and cache file descriptors for the trash directories, even after the trash directory is removed. This leads to ENOENT errors when attempting to create files if tests are run multiple times. Add a cleanup script to force flushing the gpg-agent for that GNUPGHOME (if any) before setting up the GPG relevant-environment. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Santiago Torres <santiago@nyu.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'lockfile.h')
0 files changed, 0 insertions, 0 deletions