mask necessary whitespace policy violations in test scripts
commit74f16b0c6fece88f585f9556fa1d3a7406e7a42e
authorJeff King <peff@peff.net>
Sat, 14 Jun 2008 07:26:37 +0000 (14 03:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Jun 2008 18:39:16 +0000 (14 11:39 -0700)
tree69eeae4a23e0842bd7a9cc936a76554e257be4bd
parent3b2eb186bb738a374d9325b18710b19ec270e55f
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>
t/t3800-mktag.sh
t/t4015-diff-whitespace.sh
t/t4109-apply-multifrag.sh
t/t4109/patch1.patch [new file with mode: 0644]
t/t4109/patch2.patch [new file with mode: 0644]
t/t4109/patch3.patch [new file with mode: 0644]
t/t4109/patch4.patch [new file with mode: 0644]
t/t4119-apply-config.sh