-
由 Santiago Torres 提交于
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: NJunio C Hamano <gitster@pobox.com> Signed-off-by: NSantiago Torres <santiago@nyu.edu> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
29ff1f8f