diff options
author | Thomas Rast <trast@student.ethz.ch> | 2009-02-19 22:26:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-19 21:41:57 -0800 |
commit | 484cf6c3f1169786c45ccda54c9961ef66465c03 (patch) | |
tree | 17187263c52210ac49784efe4cc758251c12524f /revision.h | |
parent | 25487f8e2ae266936df0f807ae79dca41606e404 (diff) | |
download | git-484cf6c3f1169786c45ccda54c9961ef66465c03.tar.gz |
format-patch: threading test reactivation
t4014 tests format-patch --thread since 7d812145, but the tests were
ineffective right from the start at least for bash and dash. The
loops of the form
for ...; do something || break; done
introduced by 7d812145 and 5d02294 always exit with status 0, even if
'something' failed, because 'break' returns 0 unless there was no loop
to break.
We take a rather different approach that uses an admittedly heinous
inline Perl script to mangle all interesting information into a format
that is invariant between runs. We can then test the full patch
sequence in one go (with --stdout), doing away with the loop problem.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions