summaryrefslogtreecommitdiff
path: root/tests.branching/setup
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 16:43:36 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-13 12:01:39 +0100
commitef0b21be1845d69886bd84f402725e439fc928b4 (patch)
tree9cba3580ab766c7def3307089ef3c1d07415192e /tests.branching/setup
parent8c87a657236c64ff640589e2d27cb0b347f3691a (diff)
downloadmorph-ef0b21be1845d69886bd84f402725e439fc928b4.tar.gz
tests: Always use fixed git committer info
Move this into a script which can be sourced by the 'setup' scripts and the actual tests (this is needed as the environment in 'setup' is not passed on to the tests).
Diffstat (limited to 'tests.branching/setup')
-rwxr-xr-xtests.branching/setup13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests.branching/setup b/tests.branching/setup
index 30bfbd24..cce3b672 100755
--- a/tests.branching/setup
+++ b/tests.branching/setup
@@ -24,18 +24,7 @@
set -eu
-export GIT_AUTHOR_NAME
-export GIT_AUTHOR_EMAIL
-export GIT_AUTHOR_DATE
-export GIT_COMMITTER_NAME
-export GIT_COMMITTER_EMAIL
-export GIT_COMMITTER_DATE
-GIT_AUTHOR_NAME=developer
-GIT_AUTHOR_EMAIL=developer@example.com
-GIT_AUTHOR_DATE="1343753514 +0000"
-GIT_COMMITTER_NAME=developer
-GIT_COMMITTER_EMAIL=developer@example.com
-GIT_COMMITTER_DATE="1343753514 +0000"
+source "$SRCDIR/scripts/fix-committer-info"
# Create a morph configuration file
cat <<EOF > "$DATADIR/morph.conf"