summaryrefslogtreecommitdiff
path: root/tests/tests/quilt-gbp
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/quilt-gbp
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/quilt-gbp')
-rwxr-xr-xtests/tests/quilt-gbp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/quilt-gbp b/tests/tests/quilt-gbp
index 4dc597d..e1e53c8 100755
--- a/tests/tests/quilt-gbp
+++ b/tests/tests/quilt-gbp
@@ -45,7 +45,7 @@ test-push-1 () {
}
test-push-2 () {
- t-dgit --quilt=gbp --dgit-view-save=split.p push
+ t-dgit --quilt=gbp --dgit-view-save=split.p push-built
t-gbp-pushed-good
}
@@ -55,7 +55,7 @@ test-push-1
t-dgit --quilt=gbp --clean=git --dgit-view-save=split.b build-source
t-expect-fail "HEAD specifies a different tree to $p" \
- t-dgit push
+ t-dgit push-built
test-push-2