diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-23 20:52:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-23 21:27:57 +0300 |
commit | 36f8e995b235625657923518c73038cbf51ed3c7 (patch) | |
tree | e04c991d4456f4339d13a3241ce5692291a60c6f | |
parent | c5bbf6be5ba69ff3d5e7ecd79ab32e38f4bdbe69 (diff) |
Fix test failing due to 'default branch name is subject to change' git 2.30 warning
-rw-r--r-- | tests/ci.testscript | 4 | ||||
-rw-r--r-- | tests/publish.testscript | 2 | ||||
-rw-r--r-- | tests/release.testscript | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript index 7c106ee..9aae4ea 100644 --- a/tests/ci.testscript +++ b/tests/ci.testscript @@ -20,7 +20,7 @@ end # Create the remote repository. # +mkdir --no-cleanup prj.git -+git -C prj.git init --bare 2>! >&2 &prj.git/*** ++git -C prj.git init --bare --quiet &prj.git/*** # Adjust the local repository and push it to the remote one. # @@ -241,7 +241,7 @@ windows = ($cxx.target.class == 'windows') # Create the remote repository. # +mkdir --no-cleanup prj.git - +git -C prj.git init --bare 2>! >&2 &prj.git/*** + +git -C prj.git init --bare --quiet &prj.git/*** # Create the local repository and push it to the remote one. # diff --git a/tests/publish.testscript b/tests/publish.testscript index 3427b1d..afcde71 100644 --- a/tests/publish.testscript +++ b/tests/publish.testscript @@ -376,7 +376,7 @@ g = git -C prj >! 2>! # Create the remote repository. # +mkdir --no-cleanup prj.git - +git -C prj.git init --bare >! &prj.git/*** + +git -C prj.git init --bare --quiet &prj.git/*** +$clone_prj diff --git a/tests/release.testscript b/tests/release.testscript index ff32db8..c39bbba 100644 --- a/tests/release.testscript +++ b/tests/release.testscript @@ -1103,7 +1103,7 @@ log2 = $gp2 log '--pretty=format:"%d %s"' # Create the remote repository. # +mkdir --no-cleanup prj.git - +git -C prj.git init --bare 2>! >&2 &prj.git/*** + +git -C prj.git init --bare --quiet &prj.git/*** # Create the local repository. # |