]> git.ipfire.org Git - thirdparty/git.git/commit
t0006: add support for approxidate test date adjustment
authorTuomas Ahola <taahol@utu.fi>
Thu, 21 May 2026 10:54:06 +0000 (13:54 +0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 13:30:05 +0000 (22:30 +0900)
commitd5ba64d8b5bb76402a64af2b780780de952de2b9
tree4c7bf8102c11bfb8184d98fc42f8cfee4153a754
parenta237eacfe5ad5fdd7014deca220e8f9ea9f4bda3
t0006: add support for approxidate test date adjustment

t0006 uses a hard-coded test date and provides no convenient
way to override it temporarily.  Add an optional parameter to
check_approxidate to adjust the time as needed, and demonstrate
the feature with a new test.

Signed-off-by: Tuomas Ahola <taahol@utu.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0006-date.sh