aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-02 11:20:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-02 11:20:15 +0200
commit9d1787820b9811d06f0aff9448f419c72f7aa39c (patch)
tree585ff22999561c30c3e1679c7f57b8fa61417815 /tests
parentcf98cf8fd3f7b10b3eceddb2d99b78601c9cd719 (diff)
Add --no-verify to git commit commands in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/ci.testscript2
-rw-r--r--tests/publish.testscript4
-rw-r--r--tests/release.testscript2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/ci.testscript b/tests/ci.testscript
index bc3174f..2348cce 100644
--- a/tests/ci.testscript
+++ b/tests/ci.testscript
@@ -32,7 +32,7 @@ g = git -C prj 2>! >&2
+$g config user.email 'testscript@example.com'
+$g remote add origin $~/prj.git
+$g add '*'
-+$g commit -m 'Create'
++$g commit -m 'Create' --no-verify
+$g push --set-upstream origin master
# Repository the CI-ed packages come from.
diff --git a/tests/publish.testscript b/tests/publish.testscript
index 07c3632..2e7e215 100644
--- a/tests/publish.testscript
+++ b/tests/publish.testscript
@@ -257,7 +257,7 @@ g = git -C prj >! 2>!
+$g config user.name 'Test Script'
+$g config user.email 'testscript@example.com'
+$g add '*'
- +$g commit -m 'Create'
+ +$g commit -m 'Create' --no-verify
: final
:
@@ -595,7 +595,7 @@ g = git -C prj >! 2>!
# the build2-control branch, so the subsequent publishing fails.
#
$g add '*';
- $g commit -m 'Create';
+ $g commit -m 'Create' --no-verify;
$g push --set-upstream origin master;
$* 2>>~%EOE% != 0;
diff --git a/tests/release.testscript b/tests/release.testscript
index 6c89987..0b772c1 100644
--- a/tests/release.testscript
+++ b/tests/release.testscript
@@ -33,7 +33,7 @@ log = $gp log '--pretty=format:"%d %s"'
+$gp config user.email 'testscript@example.com'
+$gp remote add origin ../prj.git
+$gp add '*'
-+$gp commit -m 'Create'
++$gp commit -m 'Create' --no-verify
+$gp push --set-upstream origin master
clone_prj = cp --no-cleanup -pr ../prj ./ &prj/***