t3005: do not assume a particular order of stdout and stderr of git-ls-files
commit385ceec1cb46f8a476fa11ffc853dedba512fd52
authorJohannes Sixt <j6t@kdbg.org>
Sun, 28 Aug 2011 07:34:56 +0000 (28 09:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2011 05:19:27 +0000 (28 22:19 -0700)
tree9fc9f4c79d14c2c30e560430a4483dffa54546f4
parent0f64bfa9567f697d6152ef9ea937d4b573029a08
t3005: do not assume a particular order of stdout and stderr of git-ls-files

There is no guarantee that stderr is flushed before stdout when both
channels are redirected to a file. Check the channels using independent
files.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3005-ls-files-relative.sh