summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-04 12:42:29 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-04 12:42:29 +0100
commit7e633edfc07b872a59e5029ec67cfc208e739ef6 (patch)
treef73268427065f6b59280dad6aa3ecdcbdd4fd31f /tests
parent55102fde4b7aced570cfd46f435d80c70b8327a9 (diff)
dgit push: Add a test that we can make it mean push-source
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/push-source3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tests/push-source b/tests/tests/push-source
index 79c4636..888b84a 100755
--- a/tests/tests/push-source
+++ b/tests/tests/push-source
@@ -8,11 +8,12 @@ t-buildproductsdir-config
t-prep-newpackage example 1.0
cd $p
+git config --global dgit.default.push-subcmd source
t-refs-same-start
t-ref-head
-t-dgit push-source --new
+t-dgit push --new
t-pushed-good master
t-push-was-source-only