t9700: do not close STDERR
commita749c0bbef068af339ea1ac8843f8ca307b3dd35
authorThomas Rast <trast@inf.ethz.ch>
Thu, 4 Apr 2013 20:41:42 +0000 (4 22:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Apr 2013 21:49:56 +0000 (4 14:49 -0700)
tree6bdfaa123a656ba59456ed35d3e6629d40e7e09d
parentbd4ca09d4cddc226ece1bb5b40a74ba281f3e00e
t9700: do not close STDERR

Much like the previous patch, this triggered an unrelated bug.
Closing STDERR is not worth it anyway, as we risk writing die() and
such to random files that happen to be subsequently opened on FD 2.
Don't do it.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9700/test.pl