diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-17 15:37:07 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-31 22:55:01 +0100 |
commit | 8eb4d3531c65dc7afa2bbfe56d535faa756da073 (patch) | |
tree | 9f70408170cfc0712d6fee9ea960466668b19391 /tests/tests/debpolicy-newreject | |
parent | 8a178bf100d49ad948f5f3ec5540da1ff9c74c3e (diff) |
Tag change: Test suite: Introduce $tagpfx
Currently this is `test-dummy' (the distro the tests work with).
Have checked that after this commit
find tests -type f | xargs perl -i~ -pe 's/\$tagpfx/test-dummy/g'
puts everything back. (This does not prove I have changed the right
set of occurrences, but it does suggest that each actual change is
good.)
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/debpolicy-newreject')
-rwxr-xr-x | tests/tests/debpolicy-newreject | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index ed4a144..4da568c 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" \ |