summaryrefslogtreecommitdiff
path: root/tests/lib
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/lib
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/lib')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index c8ea771..c636f09 100644
--- a/tests/lib
+++ b/tests/lib
@@ -913,7 +913,7 @@ t-commit-build-push-expect-log () {
t-commit "$msg"
t-dgit build
LC_MESSAGES=C \
- t-dgit push --new 2>&1 |tee $tmp/push.log
+ t-dgit push-built --new 2>&1 |tee $tmp/push.log
t-grep-mpat "$mpat" $tmp/push.log
}