From a889137c1c69f2731db20b61b22b42544de27e13 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 7 Aug 2016 20:53:23 +0100 Subject: [PATCH 1/1] Test suite: inarchivecopy: New test (does not pass yet) Signed-off-by: Ian Jackson --- debian/tests/control | 5 +++++ tests/tests/inarchivecopy | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 tests/tests/inarchivecopy diff --git a/debian/tests/control b/debian/tests/control index 45e80e40..6e8287c4 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -12,6 +12,11 @@ Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts Restrictions: x-dgit-intree-only x-dgit-git-only +Tests: inarchivecopy +Tests-Directory: tests/tests +Depends: dgit, dgit-infrastructure, devscripts +Restrictions: x-dgit-unfinished + Tests: mirror mirror-debnewgit mirror-private Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts, rsync diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy new file mode 100755 index 00000000..c3c06b89 --- /dev/null +++ b/tests/tests/inarchivecopy @@ -0,0 +1,17 @@ +#!/bin/bash +set -e +. tests/lib + +t-restrict x-dgit-unfinished + +t-setup-import examplegit + +cat aq/package.sid.$p >>aq/package.stable.example + +t-archive-updated stable $p + +cd $p + +t-dgit fetch stable + +xxx rest of test -- 2.30.2