Diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0507-hooks.sh | 6 |
1 file changed, 6 insertions, 0 deletions
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 "<td class=.col-idle.><time [^>]*data-ut=.1612325106." index + ' + test_expect_success SANITY "the age hook shows a pusher no error under $shell" ' cp kept plain.git/info/web/last-modified && test_when_finished "chmod 755 plain.git/info/web" && |
