summaryrefslogtreecommitdiff
path: root/tests/tests/debpolicy-dbretry
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-03 21:49:00 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-04 11:53:44 +0100
commite11e759cb1877f52bf696d5f1e0b30f53a50ca4a (patch)
treeb1ddb0b3026ebc52ff597154b6c35041d4aa5345 /tests/tests/debpolicy-dbretry
parent42d05da9ea816296623bba686e533fb651825fc8 (diff)
dgit push: Update tests
Change the global test git config to reject plain "git push". Update almost all tests to use "push-built". In some cases, change to using "push-source". In one case (chosen essentially arbitrarily), use the config override and continue using push to mean push-built. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/debpolicy-dbretry')
-rwxr-xr-xtests/tests/debpolicy-dbretry4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/debpolicy-dbretry b/tests/tests/debpolicy-dbretry
index a9f2334..421dee2 100755
--- a/tests/tests/debpolicy-dbretry
+++ b/tests/tests/debpolicy-dbretry
@@ -20,7 +20,7 @@ git reset --hard HEAD~
t-commit 'Make something to autotaint'
t-dgit build
-t-dgit push --new
+t-dgit push-built --new
autotaint=`t-git-get-ref "refs/tags/$tagpfx/$v"`
@@ -55,7 +55,7 @@ DGIT_RPD_TEST_DBLOOP_HOOK='
'\'' and die "$? $!";
}
' \
-t-dgit push --deliberately-not-fast-forward
+t-dgit push-built --deliberately-not-fast-forward
exec 3>&-
wait $sqlite3_pid