author | Thomas Rast <trast@student.ethz.ch> | |
Thu, 13 Jan 2011 11:30:23 +0000 (12:30 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 13 Jan 2011 19:32:31 +0000 (11:32 -0800) | ||
commit | 9cf3f14766b025bfc90fbac856d7a6493ef36c8b | |
tree | d2dc39cf9ad05a4aa3c6f95d4ec3beaaf9fa92b6 | tree | snapshot |
parent | d2f15e29a6161b40dbc0142eb59f82092268e1d6 | commit | diff |
t0000: quote TAP snippets in test code
t0000 contains two snippets of actual test output. This causes
problems when passing -v to the test[*]: the test infrastructure
echoes the tests before running them, and the TAP parser then sees
this test output and concludes that two tests failed and that the TAP
output was badly formatted.
Guard against this by quoting the output in the source.
[*] either by running 'make smoke' with GIT_TEST_OPTS=-v, or with
prove ./t0000-basic.sh :: -v
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t0000 contains two snippets of actual test output. This causes
problems when passing -v to the test[*]: the test infrastructure
echoes the tests before running them, and the TAP parser then sees
this test output and concludes that two tests failed and that the TAP
output was badly formatted.
Guard against this by quoting the output in the source.
[*] either by running 'make smoke' with GIT_TEST_OPTS=-v, or with
prove ./t0000-basic.sh :: -v
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0000-basic.sh | diff | blob | history |