author | Johannes Sixt <j6t@kdbg.org> | |
Thu, 22 Jul 2010 08:13:33 +0000 (10:13 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Jul 2010 06:14:18 +0000 (23:14 -0700) | ||
commit | c1e02b2b383a6cd29353067c942384028745314c | |
tree | c46a8d0975253bf97c5e7c670d3d891a21e6577e | tree | snapshot |
parent | 938791cd01bfb9729feed95a12f743fd077d0467 | commit | diff |
t3700-add: fix dependence on stdout and stderr buffering
One test case checked the stdout and stderr of 'git add' by constructing a
single 'expect' file that contained both streams. But when the command
runs, the order of stdout and stderr output is unpredictable because it
depends on how the streams are buffered. At least on Windows, the buffering
is different from what the test case expected. Hence, check the two output
texts separately.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
One test case checked the stdout and stderr of 'git add' by constructing a
single 'expect' file that contained both streams. But when the command
runs, the order of stdout and stderr output is unpredictable because it
depends on how the streams are buffered. At least on Windows, the buffering
is different from what the test case expected. Hence, check the two output
texts separately.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3700-add.sh | diff | blob | history |