chiark / gitweb /
Tests: break out t-git-dir-time-passes
[dgit.git] / tests / lib
index 377c5fd1e4dd93a71bef4ff4d1fbf438e3fa65d1..0933c4373d588c45e248f9c6185c2e16fad55086 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -175,6 +175,10 @@ t-archive () {
        (set -e; cd $tmp/extract; dpkg-source -x ../mirror/pool/main/$dscf)
 }
 
+t-git-dir-time-passes () {
+       touch -d 'last year' $tmp/git/$p.git
+}
+
 t-dgit () {
        local dgit=${DGIT_TEST-dgit}
        : '