chiark / gitweb /
dgit-repos-server: some better error msgs, more tests
[dgit.git] / tests / lib
index 2dffdacee0f614fa22024fa3c6e515bc253aa22d..f6f4e2944eea6a50b1b06f860741801b2de57435 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -241,6 +241,8 @@ t-drs () {
  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
+       cp $root/tests/gnupg/{dd.gpg,dm.gpg,dm.txt} $tmp/.
+       cp $root/tests/suites $tmp/.
 }
 
 t-drs-test () {
@@ -248,7 +250,5 @@ t-drs-test () {
        cd $root
        export DGIT_TEST_TESTNAME="$testname"
        export ADTTMP=$tmp
-       cp $root/tests/gnupg/{dd.gpg,dm.gpg,dm.txt} $tmp/.
-       cp $root/tests/suites $tmp/.
        exec "${0///drs-//}" "$@"
 }