diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-02 11:20:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-02 11:20:15 +0200 |
commit | 9d1787820b9811d06f0aff9448f419c72f7aa39c (patch) | |
tree | 585ff22999561c30c3e1679c7f57b8fa61417815 | |
parent | cf98cf8fd3f7b10b3eceddb2d99b78601c9cd719 (diff) |
Add --no-verify to git commit commands in tests
-rw-r--r-- | tests/ci.testscript | 2 | ||||
-rw-r--r-- | tests/publish.testscript | 4 | ||||
-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 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/*** |