summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2021-09-07 23:05:28 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2021-09-07 23:15:06 +0100
commitb192dfff6db6d91728397d9544a9553051cfe5de (patch)
treedb33b4de40d8987838320939daefebf60a7132bc /tests
parentc22dcf7c82cc6cac60ba61e84e1d6331061c70cf (diff)
tests: Add init.defaultBranch to two test cases
Our test suite is full of "master". So for now, just do these two tests. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/gdr-edits2
-rwxr-xr-xtests/tests/quilt-gbp2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests/gdr-edits b/tests/tests/gdr-edits
index a8b519c..c37e9c9 100755
--- a/tests/tests/gdr-edits
+++ b/tests/tests/gdr-edits
@@ -7,6 +7,8 @@ t-dependencies GDR
t-tstunt-parsechangelog
t-setup-import gdr-convert-gbp
+git config --global init.defaultBranch trunk
+
cd $p
v=2.0-3
diff --git a/tests/tests/quilt-gbp b/tests/tests/quilt-gbp
index e502f6b..4dc597d 100755
--- a/tests/tests/quilt-gbp
+++ b/tests/tests/quilt-gbp
@@ -22,6 +22,8 @@ t-tstunt-parsechangelog
t-gbp-example-prep
+git config --global init.defaultBranch trunk
+
t-expect-fail 'quilt fixup cannot be linear' \
t-dgit build-source