chiark / gitweb /
dgit-repos-server: fixes, tests. can now pass drs-clone-nogit
[dgit.git] / tests / lib
index dc0911b8140376775cabf432120889523d7d7868..7c82081a58ebcc7ea3633c06266bce66561c0d9f 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -227,9 +227,9 @@ t-git-config () {
 t-drs () {
        export DGIT_TEST_TROOT=$troot
        export DGIT_TEST_TMP=$tmp
      t-git-config dgit-distro.test-dummy.git-url "ext::$troot/drs-git-ext "
      t-git-config dgit-distro.test-dummy.git-check true
      t-git-config dgit-distro.test-dummy.git-create true
t-git-config dgit-distro.test-dummy.git-url "ext::$troot/drs-git-ext %S "
+ t-git-config dgit-distro.test-dummy.git-check true
+ t-git-config dgit-distro.test-dummy.git-create true
 }
 
 t-drs-test () {
@@ -237,6 +237,6 @@ t-drs-test () {
        cd $root
        export DGIT_TEST_TESTNAME="$testname"
        export ADTTMP=$tmp
+       cp $root/tests/gnupg/{dd.gpg,dm.gpg,dm.txt} $tmp/.
        exec "${0///drs-//}" "$@"
 }
-