[PATCH 0/2] Work around gpg2 path length limits in tests

Colin Watson cjwatson at debian.org
Tue May 9 12:24:00 CEST 2017


https://bugs.debian.org/862071 reported that attempting to build
password-store in a path with >= 74 characters fails due to limitations
resulting from the limit on the length of a Unix socket path.  This
series makes it possible to avoid that.

It's still necessary for the caller to set up an appropriate temporary
directory, using something like this:

  set -e
  tmp="$(mktemp -d)"
  cleanup () { rm -rf "$tmp"; }
  trap cleanup EXIT
  make PASS_TEST_OPTS="--root=$tmp"

Colin Watson (2):
  Match only the public key in reencryption tests
  Copy tests/gnupg/ into trash directory for tests

 tests/setup.sh              | 4 +++-
 tests/t0300-reencryption.sh | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.7.4


More information about the Password-Store mailing list