chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8251b0c
)
test suite: Check that archive skew machinery reports warning
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Sep 2019 21:14:53 +0000
(22:14 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Sep 2019 21:16:30 +0000
(22:16 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/clone-skew
patch
|
blob
|
history
diff --git
a/tests/tests/clone-skew
b/tests/tests/clone-skew
index 39fcb412fb0ddc0e09f4c69880a9ba043ac639a8..dd51acde69897048b5b98df012776c33f5226009 100755
(executable)
--- a/
tests/tests/clone-skew
+++ b/
tests/tests/clone-skew
@@
-23,7
+23,11
@@
perl -i -ne '
' $tmp/aq/package.sid.$p
t-aq-archive-updated sid $p
-t-dgit clone $p
+LC_MESSAGES=C \
+t-dgit clone $p 2>&1 |tee got.message
+
+grep 'Warning: archive skew detected.' got.message
+egrep 'We were able to obtain only *1.0-1$' got.message
cd $p
t-cloned-fetched-good