aboutsummaryrefslogtreecommitdiff
path: root/tests/publish.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/publish.testscript')
-rw-r--r--tests/publish.testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/publish.testscript b/tests/publish.testscript
index 1fd8d38..41b5eed 100644
--- a/tests/publish.testscript
+++ b/tests/publish.testscript
@@ -22,7 +22,7 @@ test.arguments += --repository "$repository" --yes \
config_cxx = [cmdline] cc config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
-new += 2>!
+new += --vcs git,branch=master 2>!
init += $config_cxx -d prj 2>! &prj/**/bootstrap/***
windows = ($cxx.target.class == 'windows')
@@ -438,7 +438,7 @@ g = [cmdline] git -C prj >! 2>!
# Create the remote repository.
#
+mkdir --no-cleanup prj.git
- +git -C prj.git init --bare --quiet &prj.git/***
+ +git -C prj.git -c init.defaultBranch=master init --bare --quiet &prj.git/***
+$clone_prj