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 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
index 746dc69cbc0b70e968fcfa8b82ceafeee6e02c85..d73b826b7fb0490d2fa3d3d1a74f34e42a876b8d 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