chiark / gitweb /
Tag change: Test suite: Introduce $tagpfx
[dgit.git] / tests / tests / debpolicy-newreject
index ed4a1446d2a930cf0e95e6c0a13efd2d5b6347c0..4da568c3199bbec03b76bee202cfaa8a20ae0227 100755 (executable)
@@ -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" \