chiark / gitweb /
git-debrebase: test suite: gdr-*: use faketime to control dch dates
[dgit.git] / tests / lib
index 51dc62a9add5561ae4ff6fc2b23871a04df539fc..5e6691aa2412244c1c980e461d87fda1224def23 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1005,7 +1005,7 @@ t-commit () {
 }
 
 t-dch-commit () {
-       dch "$@"
+       faketime @"${GIT_AUTHOR_DATE% *}" dch "$@"
        git commit -m "dch $*" debian/changelog
 }