chiark / gitweb /
tests/lib: set up default control files for drs in t-drs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 Feb 2014 22:05:59 +0000 (22:05 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:29:07 +0000 (18:29 +0000)
tests/lib

index 2dffdac..f6f4e29 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-//}" "$@"
 }