From 000b603ecb26d367859469ba7823c7cf96a33760 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 15:30:56 -1000 Subject: Say which earlier tests each hook case needs --- tests/t0507-hooks.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/t0507-hooks.sh b/tests/t0507-hooks.sh index 6be6d06..175538f 100755 --- a/tests/t0507-hooks.sh +++ b/tests/t0507-hooks.sh @@ -2,8 +2,9 @@ # Checks the post-receive hooks under custom/hooks. The cache hook runs from a # copy pointed at a cache and a scan path in the trash directory, since the -# shipped one names the system's own, and the hooks run inside bare -# repositories the way git runs them after a push. +# shipped one names the system's own. The hooks run inside a repository's git +# directory the way git runs them after a push, and once each installed and +# pushed to. test_description='Check the shipped post-receive hooks' CGIT_TEST_NO_CREATE_REPOS=YesPlease @@ -159,6 +160,9 @@ do done say "running the hooks under$shells" +# Every case below needs the set-up tests above it, and some need the case +# before them under the same shell, so a --run subset has to take those too. + for shell in $shells do # zsh and busybox behave as sh only when asked to. -- cgit 2.12.1