summaryrefslogtreecommitdiff
path: root/tests/tests/trustingpolicy-replay
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-04 18:06:29 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-04 19:24:47 +0100
commitb02532fd7d3c82864c76eecbfd99a1abc7e2c1b2 (patch)
tree62e2308c9693c9651ce73c20efad43039de4ee79 /tests/tests/trustingpolicy-replay
parent509a3e2079137b842228b6085b7bb31bbeedd631 (diff)
For non-Debian distros, debiantag() uses distro name a la DEP-14.
Diffstat (limited to 'tests/tests/trustingpolicy-replay')
-rwxr-xr-xtests/tests/trustingpolicy-replay14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay
index 2736a52..f2a7043 100755
--- a/tests/tests/trustingpolicy-replay
+++ b/tests/tests/trustingpolicy-replay
@@ -20,7 +20,7 @@ t-dgit build
t-dgit push
t-rm-dput-dropping
-git checkout debian/1.0
+git checkout test-dummy/1.0
t-dgit build
t-dgit push --deliberately-fresh-repo
@@ -28,8 +28,8 @@ remote="`git config dgit-distro.test-dummy.git-url`/$p.git"
t-expect-push-fail 'Replay of previously-rewound upload' \
git push "$remote" \
- debian/1.1 \
- debian/1.1~0:refs/dgit/sid
+ test-dummy/1.1 \
+ test-dummy/1.1~0:refs/dgit/sid
git checkout master
@@ -57,11 +57,11 @@ prepare-replay () {
attempt-replay () {
local mpat=$1
- git show debian/$replayv | grep -e $delib
+ git show test-dummy/$replayv | grep -e $delib
t-expect-push-fail "$mpat" \
git push "$remote" \
- debian/$replayv \
- +debian/$replayv~0:refs/dgit/sid
+ test-dummy/$replayv \
+ +test-dummy/$replayv~0:refs/dgit/sid
}
prepare-replay --deliberately-fresh-repo
@@ -77,7 +77,7 @@ t-commit 'later version to stop not fast forward rewinding'
t-dgit build
t-dgit push
-attempt-replay "does not declare previously tags/debian/$v"
+attempt-replay "does not declare previously tags/test-dummy/$v"
echo ok.