chiark / gitweb /
For non-Debian distros, debiantag() uses distro name a la DEP-14.
[dgit.git] / tests / tests / trustingpolicy-replay
index 2736a523de98d05f0b24065af3857bb30bc6c4b5..f2a704317e34154ac2e0e525dfb66af4a8e76d52 100755 (executable)
@@ -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.