test-lib: allow prefixing a custom string before "ok N" etc.
commite939e15d241e942662b9f88f6127ab470ab0a0b9
authorThomas Rast <trast@inf.ethz.ch>
Sun, 23 Jun 2013 18:12:58 +0000 (23 20:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 23 Jun 2013 19:24:06 +0000 (23 12:24 -0700)
tree2db877579381a30da3b8d322f93e287f6274a6ae
parent5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a
test-lib: allow prefixing a custom string before "ok N" etc.

This is not really meant for external use, and thus not documented. It
allows the next commit to neatly distinguish between sub-tests and the
main run.

The format is intentionally not valid TAP.  The use in the next commit
would not result in anything valid either way, and it seems better to
make it obvious.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh