From d6156841cf81c364e2c7f1b16e74bfb64cf8afe2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Nov 2013 13:56:25 +0000 Subject: autopkgtests: fix t-git-none, provide dummy (empty) gnupg --- tests/lib | 7 +++++++ tests/tests/clone-nogit | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/lib b/tests/lib index 509989a..baf3e46 100644 --- 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 diff --git a/tests/tests/clone-nogit b/tests/tests/clone-nogit index 746dc69..d73b826 100755 --- a/tests/tests/clone-nogit +++ b/tests/tests/clone-nogit @@ -2,7 +2,7 @@ set -e . tests/lib -t-git none +t-git-none t-archive pari-extra 3-1 t-dgit clone $p -- cgit v1.2.3