diff options
author | Josh Steadmon <steadmon@google.com> | 2019-08-07 11:57:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-07 12:37:33 -0700 |
commit | f78f6c7e0ca91a48a4b519cc2cf1197d16810f7a (patch) | |
tree | 36745c27a6cb3f7b3b4b052ab40d8dbd386ed0d7 /ci/test-documentation.sh | |
parent | Git 2.23-rc1 (diff) | |
download | tgif-f78f6c7e0ca91a48a4b519cc2cf1197d16810f7a.tar.xz |
t7503: verify proper hook execution
t7503 did not verify that the expected hooks actually ran during
testing. Fix that by making the hook scripts write their $0 into a file
so that we can compare actual execution vs. expected execution.
While we're at it, do some test style cleanups, such as using
write_script() and doing setup inside a test_expect_success block.
Improved-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/test-documentation.sh')
0 files changed, 0 insertions, 0 deletions