X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Ftrustingpolicy-replay;h=a2d280d229d40741731a168619b8093b7d365a61;hb=db8abe2a9751ce42afecb482fa0203ea6e538bbb;hp=8cc205ce1dfdfece7d1f89840f9e6ecb0cbda913;hpb=8eb4d3531c65dc7afa2bbfe56d535faa756da073;p=dgit.git diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay index 8cc205ce..a2d280d2 100755 --- a/tests/tests/trustingpolicy-replay +++ b/tests/tests/trustingpolicy-replay @@ -4,6 +4,10 @@ set -e t-tstunt-parsechangelog +t-dependencies dput-ng + +t-git-config dgit.default.dep14tag no + t-dsd t-policy dgit-repos-policy-trusting t-prep-newpackage example 1.0 @@ -15,14 +19,15 @@ git tag start t-dgit build t-dgit push --new +t-rm-dput-dropping + t-commit 'Prep v1.1 which will be rewound' t-dgit build t-dgit push -t-rm-dput-dropping git checkout $tagpfx/1.0 t-dgit build -t-dgit push --deliberately-fresh-repo +t-dgit push --deliberately-fresh-repo --force-reusing-version remote="`git config dgit-distro.test-dummy.git-url`/$p.git" @@ -80,4 +85,4 @@ t-dgit push attempt-replay "does not declare previously tags/$tagpfx/$v" -echo ok. +t-ok