From 083bbd18b7a3e3879c88bbae2b30fcff46e49da2 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 14:50:05 -1000 Subject: Check that cgit reads what the age hook writes The hook exists to feed the idle column, but nothing had cgit read an age file, so a hook writing a date cgit cannot parse, or one at a path cgit no longer reads, passed. --- tests/t0507-hooks.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/t0507-hooks.sh b/tests/t0507-hooks.sh index d387025..f578487 100755 --- a/tests/t0507-hooks.sh +++ b/tests/t0507-hooks.sh @@ -176,6 +176,12 @@ do test_cmp expect-entries entries ' + test_expect_success "cgit shows the date the age hook wrote as the idle time under $shell" ' + cgitrc_repo agerc plain "repo.path=$PWD/plain.git" && + cgit_ok agerc "" >index && + test_grep "