chiark / gitweb /
test suite: gnupg: Do not reset DGIT_TEST_REAL_GPG_AGENT
[dgit.git] / tests / setup / gnupg
index 6100bf575fe7e8bfaf2d1b3d3a892d32544cd6c5..43a5c96db91558766c91658f80906567b99484ea 100755 (executable)
@@ -14,6 +14,7 @@ END
 #debug-all
 
 setup='
+       : ${DGIT_TEST_REAL_GPG_AGENT:=$(type -p gpg-agent)}
        export DGIT_TEST_REAL_GPG_AGENT=$(type -p gpg-agent)
        export DGIT_STUNT_AGENT=$troot/tstunt/gpg-agent
        export GNUPGHOME