aboutsummaryrefslogtreecommitdiff
path: root/tests/ci.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-29 19:26:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-29 19:26:00 +0300
commit86ddd8637fd7cebe765780a7aab2e2c98e47a105 (patch)
treea2b9bb05a6c45917d0067698bc5b06436f3a56ee /tests/ci.test
parent4f841757b84ddb2cf844252633dc2403569aa066 (diff)
Fix bdep-ci tests failing due to undefined user email for git-commit
Diffstat (limited to 'tests/ci.test')
-rw-r--r--tests/ci.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ci.test b/tests/ci.test
index ed6f0c0..59b0087 100644
--- a/tests/ci.test
+++ b/tests/ci.test
@@ -38,6 +38,8 @@ end
g = git -C prj 2>! >&2
++$g config user.name 'Test Script'
++$g config user.email 'testscript@example.com'
+$g remote add origin $~/prj.git
+$g add '*'
+$g commit -m 'Create'
@@ -136,6 +138,8 @@ windows = ($cxx.target.class == 'windows')
+sed -i -e 's/^(version:) .*$/\1 1.0.1/' prj/libprj/manifest
+sed -i -e 's/^(version:) .*$/\1 1.0.1/' prj/prj/manifest
+ +$g config user.name 'Test Script'
+ +$g config user.email 'testscript@example.com'
+$g remote add origin $~/prj.git
+$g add '*'
+$g commit -m 'Create'