t3200: do not open a HTML manual page when DEFAULT_MAN_FORMAT is html
commit42954e5ac71f82484a3ddc21a4109889d83956cd
authorJohannes Sixt <j6t@kdbg.org>
Sat, 6 Jul 2013 17:24:01 +0000 (6 19:24 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 13 Sep 2013 08:37:55 +0000 (13 09:37 +0100)
tree9f1108b19febf1ba2b2a932c0835e3f381ad9bc4
parentdb487fd996462646ad7a2ee62c6d82aa473f26b8
t3200: do not open a HTML manual page when DEFAULT_MAN_FORMAT is html

We have the build configuration option DEFAULT_MAN_FORMAT to choose a
format different from man pages to be used by 'git help' when no format
is requested explicitly. Since 65db0443 (Set the default help format to
html for msys builds, 2013-06-04) we use html on Windows by default.

There is one test in t3200-branch.sh that invokes a help page. The
intent of the redirections applied to the command invocation is to avoid
that the man page viewer interferes with the automated test. But when
the default format is not "man", this does not have the intended effect,
and the HTML manual page is opened during the test run. Request "man"
format explicitly to keep the test silent.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
t/t3200-branch.sh