diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-11 02:46:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-17 09:15:14 -0700 |
commit | 803394459d40f8d07cef11d49900ba6f72887869 (patch) | |
tree | 5380a4ffae9e89c88855e19aea320199854a75c3 /t/chainlint | |
parent | t/test-lib: teach --chain-lint to detect broken &&-chains in subshells (diff) | |
download | tgif-803394459d40f8d07cef11d49900ba6f72887869.tar.xz |
t/Makefile: add machinery to check correctness of chainlint.sed
The --chain-lint option uses heuristics and knowledge of shell syntax to
detect broken &&-chains in subshells by pure textual inspection.
Although the heuristics work well, they are still best-guesses and
future changes could accidentally break assumptions upon which they are
based. To protect against this possibility, tests checking correctness
of the linter itself will be added. As preparation, add a new makefile
"check-chainlint" target and associated machinery.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint')
0 files changed, 0 insertions, 0 deletions