From 86ddd8637fd7cebe765780a7aab2e2c98e47a105 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 29 Aug 2018 19:26:00 +0300 Subject: Fix bdep-ci tests failing due to undefined user email for git-commit --- tests/ci.test | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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' -- cgit v1.1