chiark / gitweb /
test suite: tagupl-*: Break out t-tagupl-run-drs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 16:33:14 +0000 (17:33 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Sun, 7 Jul 2019 08:54:19 +0000 (09:54 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib

index efcf34db2580260d1fcf3ff1b485e9bcd4b75a21..f6b653fa6578eab6948f5a972ef01a5ecc184c9e 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1204,12 +1204,8 @@ t-tagupl-settings () {
        t-chain-test-somehow
 }
 
-t-tagupl-test () {
-       ${DGIT_DEBPUSH_TEST-git debpush} \
-               --distro=test-dummy --no-push -u Senatus "$@"
-
+t-tagupl-run-drs () {
        cd ..
-       mkdir tagupl
        cd tagupl
 
        DGIT_DRS_ANY_URL=1 \
@@ -1217,6 +1213,14 @@ t-tagupl-test () {
         $troot/drs-git-ext 
 
        cd $tmp/$p
+}
+
+t-tagupl-test () {
+       ${DGIT_DEBPUSH_TEST-git debpush} \
+               --distro=test-dummy --no-push -u Senatus "$@"
+
+       mkdir ../tagupl
+       t-tagupl-run-drs
 
        t-dgit fetch
        t-pushed-good master