chiark / gitweb /
autopkgtests: fix t-git-none, provide dummy (empty) gnupg
[dgit.git] / tests / lib
index 509989a1733d31ad1be7e6097dca473adda44e42..baf3e4625cea893d4454f991cc5c58536d4686af 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -18,11 +18,18 @@ tmp=`pwd`
 export DGIT_TEST_DUMMY_DIR=$tmp
 ln $troot/ssh ssh
 
+mkdir $tmp/gnupg
+export GNUPGHOME=$tmp/gnupg
+
 t-git () {
        mkdir -p git
        cp -al $troot/git-srcs/$1 git/.
 }
 
+t-git-none () {
+       mkdir -p git
+}
+
 t-archive () {
        p=$1
        mkdir -p aq mirror