author | Jeff King <peff@peff.net> | |
Sat, 14 Jun 2008 07:26:37 +0000 (03:26 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 14 Jun 2008 18:39:16 +0000 (11:39 -0700) | ||
commit | 74f16b0c6fece88f585f9556fa1d3a7406e7a42e | |
tree | 69eeae4a23e0842bd7a9cc936a76554e257be4bd | tree | snapshot |
parent | 3b2eb186bb738a374d9325b18710b19ec270e55f | commit | diff |
mask necessary whitespace policy violations in test scripts
All of these violations are necessary parts of the tests
(which are generally checking the behavior of trailing
whitespace, or contain diff fragments with empty lines).
Our solution is two-fold:
1. Process input with whitespace problems using tr. This
has the added bonus that it becomes very obvious where
the bogus whitespace is intended to go.
2. Move large diff fragments into their own supplemental
files. This gets rid of the whitespace problem, since
supplemental files are not checked, and it also makes
the test script a bit easier to read.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
All of these violations are necessary parts of the tests
(which are generally checking the behavior of trailing
whitespace, or contain diff fragments with empty lines).
Our solution is two-fold:
1. Process input with whitespace problems using tr. This
has the added bonus that it becomes very obvious where
the bogus whitespace is intended to go.
2. Move large diff fragments into their own supplemental
files. This gets rid of the whitespace problem, since
supplemental files are not checked, and it also makes
the test script a bit easier to read.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3800-mktag.sh | diff | blob | history | |
t/t4015-diff-whitespace.sh | diff | blob | history | |
t/t4109-apply-multifrag.sh | diff | blob | history | |
t/t4109/patch1.patch | [new file with mode: 0644] | blob |
t/t4109/patch2.patch | [new file with mode: 0644] | blob |
t/t4109/patch3.patch | [new file with mode: 0644] | blob |
t/t4109/patch4.patch | [new file with mode: 0644] | blob |
t/t4119-apply-config.sh | diff | blob | history |