chiark / gitweb /
git-debrebase: rename $drlast to $gdrlast (nfc)
[dgit.git] / tests / lib
index dd8c4d0152ac08cc51ab260e5187bce072ab7c0f..8722522daeed3856a6497e1a92552f6646c62c6a 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -31,8 +31,8 @@ export DGIT_TEST_DEBUG
 
 : ${DGIT_TEST_DISTRO+ ${distro=${DGIT_TEST_DISTRO}}}
 
-export GIT_COMMITTER_DATE='1440253867 +0100'
-export GIT_AUTHOR_DATE='1440253867 +0100'
+export GIT_COMMITTER_DATE='1515000000 +0100'
+export GIT_AUTHOR_DATE='1515000000 +0100'
 
 root=`pwd`
 troot=$root/tests
@@ -1005,7 +1005,7 @@ t-commit () {
 }
 
 t-dch-commit () {
-       dch "$@"
+       faketime @"${GIT_AUTHOR_DATE% *}" dch "$@"
        git commit -m "dch $*" debian/changelog
 }