Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Say which earlier tests each hook case needs
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0507-hooks.sh | 8 |
1 file changed, 6 insertions, 2 deletions
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. |
