[PATCH v2 0/2] gpg-interface: expand gpg.program as a path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allows users to specify a custom gpg program in their home directory.

V2 adds test cases for when the gpg program is not set as an absolute path.
The test for gpg in a home directory feels a bit wonky to me, because it
assumes that `~` is an alias for `$HOME` and just overriding that variable
with the test directory. But short of creating a user while running the
tests, this is the best solution I could come up with.

Jonas Brandstötter (2):
  gpg-interface: expand gpg.program as a path
  t7510: add test cases for non-absolute gpg program

 Documentation/config/gpg.adoc |  2 +-
 gpg-interface.c               |  2 +-
 t/t7510-signed-commit.sh      | 12 +++++++++++-
 3 files changed, 13 insertions(+), 3 deletions(-)

Range-diff against v1:
1:  b551903c16 = 1:  b551903c16 gpg-interface: expand gpg.program as a path
-:  ---------- > 2:  ca22bf2ee6 t7510: add test cases for non-absolute gpg program
--
2.50.1





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux