chiark / gitweb /
autopkgtests: fix t-git-none, provide dummy (empty) gnupg
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2013 13:56:25 +0000 (13:56 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:26 +0000 (17:45 +0000)
tests/lib
tests/tests/clone-nogit

index 509989a..baf3e46 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
index 746dc69..d73b826 100755 (executable)
@@ -2,7 +2,7 @@
 set -e
 . tests/lib
 
-t-git none
+t-git-none
 t-archive pari-extra 3-1
 
 t-dgit clone $p