X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdebpolicy-newreject;h=4da568c3199bbec03b76bee202cfaa8a20ae0227;hb=a88e7bbd4c9fda64ecd018a298684be2f625dc81;hp=ed4a1446d2a930cf0e95e6c0a13efd2d5b6347c0;hpb=eccc1d4a664ce41b3319f62e4fe2560268a1fc4a;p=dgit.git diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index ed4a1446..4da568c3 100755 --- a/tests/tests/debpolicy-newreject +++ b/tests/tests/debpolicy-newreject @@ -51,7 +51,7 @@ t-git-dir-check enoent t-commit 'should require --deliberately...questionable' t-dgit build -t-expect-push-fail E:"tag test-dummy/${vanished//./\\.} referred to this object.*all previously pushed versions were found to have been removed" \ +t-expect-push-fail E:"tag $tagpfx/${vanished//./\\.} referred to this object.*all previously pushed versions were found to have been removed" \ t-dgit push --new t-git-dir-check enoent @@ -102,7 +102,7 @@ t-commit 'Check taint is no longer there' t-dgit build t-dgit push -git checkout -b stoats test-dummy/$vanished +git checkout -b stoats $tagpfx/$vanished t-commit 'Simulate accidentally building on rejected version' t-dgit build t-expect-push-fail "HEAD is not a descendant of the archive's version" \