aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Jiajun <Amesists@gmail.com>2013-05-11 00:46:25 +0200
committerChristian Ruppert <idl0r@gentoo.org>2013-05-11 00:46:25 +0200
commit84321cc30126edc9a3fe51458a251b06fddce1ca (patch)
tree59b2174483db1e5df754c677a7a400276f6fdc65
parentAdd clean target for echangelog (diff)
downloadgentoolkit-84321cc30126edc9a3fe51458a251b06fddce1ca.tar.gz
gentoolkit-84321cc30126edc9a3fe51458a251b06fddce1ca.tar.bz2
gentoolkit-84321cc30126edc9a3fe51458a251b06fddce1ca.zip
Fix bug #454782 by config the user name and email
-rwxr-xr-xsrc/echangelog/test/test.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/echangelog/test/test.sh b/src/echangelog/test/test.sh
index 74d815f..0559113 100755
--- a/src/echangelog/test/test.sh
+++ b/src/echangelog/test/test.sh
@@ -12,7 +12,8 @@ _ROOT=$(pwd)
unset GENTOO_AUTHOR_NAME GENTOO_AUTHOR_EMAIL \
GENTOO_COMMITTER_NAME GENTOO_COMMITTER_EMAIL
-export ECHANGELOG_USER="Just a test <echangelogtest@gentoo.org>"
+export GENTOO_COMMITTER_NAME="Just a test"
+export GENTOO_COMMITTER_EMAIL="echangelogtest@gentoo.org"
MD5_INIT="21ac109c53cf02378593a4f613b2bb55"
MD5_PATCH="f3fa1cacae3bf51d6188278e6a5fd0c6"
@@ -56,6 +57,11 @@ make_test() {
if [ "${vcs}" = "git" ]; then
git init
+
+ # bug 454782
+ git config user.name "${GENTOO_COMMITTER_NAME}"
+ git config user.email "${GENTOO_COMMITTER_EMAIL}"
+
touch .gitignore
git add .gitignore
git commit -a -m 'Initial Commit'