agent socket path can easily get too long
When the path to the agent's socket is > 107 bytes long, it exceeds the kernel's(?) size limit, and gpg-agent doesn't work.
This can quite easily happen in testsuites that create a fake home directory and point GNUPGHOME into it. For example, this affects devscripts and libgnupg-