test-sha1-array: read command stream with strbuf_getline()

The input to this command comes from a pipeline in t0064, whose upstream has bunch of "echo"s. It is not unreasonable to expect that it may be fed CRLF lines on DOSsy systems. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Oct 28, 2015 at 13:32 UTC f06068c96181f6212e15e32957a3d40c7c7bd43d
1 file changed +1 -1
test-sha1-array.c
+1 -1
@@ -11,7 +11,7 @@ int main(int argc, char **argv)
11 struct sha1_array array = SHA1_ARRAY_INIT;
12 struct strbuf line = STRBUF_INIT;
13
14 - while (strbuf_getline_lf(&line, stdin) != EOF) {
14 + while (strbuf_getline(&line, stdin) != EOF) {
15 const char *arg;
16 unsigned char sha1[20];
17