aboutsummaryrefslogtreecommitdiff
path: root/tests/project.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-22 15:49:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-22 19:31:26 +0300
commitc2404728b623588aa89920ae435b48af0fef011e (patch)
treeba739c37837b71dbc8881cad81204ac2ee6f50e4 /tests/project.testscript
parentf95f24412ea85149556b34abb91f06e247d6db6d (diff)
Add branch sub-option for git project vcs in bdep-new
Also fix tests which failed if for the initial branch git-init defaults to the name other than 'master'.
Diffstat (limited to 'tests/project.testscript')
-rw-r--r--tests/project.testscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/project.testscript b/tests/project.testscript
index b40f7da..a675081 100644
--- a/tests/project.testscript
+++ b/tests/project.testscript
@@ -9,7 +9,10 @@
# project can not be shared between multiple bdep processes. Also we need to
# make sure that projects are not cloned while being used by bdep.
#
-+$new prj 2>- &prj/*** # By default: -t exe -l c++.
+# Make sure that the initial branch is named as 'master', since tests may rely
+# on that.
+#
++$new --vcs git,branch=master prj 2>! &prj/*** # By default: -t exe -l c++.
# The most commonly used project cloning command that copies it from the
# parent scope working directory.