summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-08-10 21:49:01 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-06 13:20:35 +0100
commitb5e0be4384a3d44e75792e66b22bbb4c0a86d891 (patch)
tree2be3aa083342d6769a3970c438ba87b6ee777c8f /tests/tests
parenta889137c1c69f2731db20b61b22b42544de27e13 (diff)
Test suite: inarchivecopy: More work
Select specifically 1.3 for first test, and do a clone Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/inarchivecopy8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy
index c3c06b8..8f44ea6 100755
--- a/tests/tests/inarchivecopy
+++ b/tests/tests/inarchivecopy
@@ -6,10 +6,16 @@ t-restrict x-dgit-unfinished
t-setup-import examplegit
-cat aq/package.sid.$p >>aq/package.stable.example
+cd $p
+git show-ref >../t
+cd ..
+
+egrep '^1\.3' aq/package.sid.$p >>aq/package.stable.example
t-archive-updated stable $p
+t-dgit clone $p stable foo
+
cd $p
t-dgit fetch stable