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: Test dput-ng compatibility.
[dgit.git]
/
tests
/
tests
/
orig-include-exclude
diff --git
a/tests/tests/orig-include-exclude
b/tests/tests/orig-include-exclude
index b7c7f7fd57fb312418cae1057d5403f239cee1dd..a37f9974b230ec85fea266b7f952d73be65888b5 100755
(executable)
--- a/
tests/tests/orig-include-exclude
+++ b/
tests/tests/orig-include-exclude
@@
-2,6
+2,20
@@
set -e
. tests/lib
set -e
. tests/lib
+suitespecs+=' stable'
+
. $troot/lib-orig-include-exclude
. $troot/lib-orig-include-exclude
-echo done.
+ofb=example_1.1.orig.tar
+zcat $ofb.gz >$ofb.SPONG
+gzip -1Nv $ofb.SPONG
+mv $ofb.SPONG.gz $ofb.gz
+
+cd $p
+
+test-push-1 1.1-1.3 '' stable
+
+t-expect-fail E:'archive contains .* with different checksum' \
+test-push-2 --new
+
+t-ok