summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-02-19 22:05:59 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-03-05 18:29:07 +0000
commit4bea9d73a33ffc989c8b68989d1cd2fe6e107583 (patch)
treeedb37834cb76428a90d0f406f498e448e2d07d87 /tests
parent2ba1d04106ad92d32e7614ad9d94fce48c363076 (diff)
tests/lib: set up default control files for drs in t-drs
Diffstat (limited to 'tests')
-rw-r--r--tests/lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib b/tests/lib
index 2dffdac..f6f4e29 100644
--- 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-//}" "$@"
}