chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test suite: inarchivecopy: More work
[dgit.git]
/
tests
/
tests
/
inarchivecopy
diff --git
a/tests/tests/inarchivecopy
b/tests/tests/inarchivecopy
index c3c06b89220cdfca5d85769202019fa793474b49..8f44ea69824d5ab78076e686dc7a1861a80ddf67 100755
(executable)
--- a/
tests/tests/inarchivecopy
+++ b/
tests/tests/inarchivecopy
@@
-6,10
+6,16
@@
t-restrict x-dgit-unfinished
t-setup-import examplegit
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-archive-updated stable $p
+t-dgit clone $p stable foo
+
cd $p
t-dgit fetch stable
cd $p
t-dgit fetch stable