t1512: ignore whitespaces in wc -l output
commit4c654f5f278ef4729497d1f3e3897acc030ff0b7
authorJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2012 23:30:28 +0000 (11 16:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jul 2012 23:30:49 +0000 (11 16:30 -0700)
tree2c34bc54056f00ee275917fbe95153bf65ae7809
parent957d74062c1f0e92368aeda335e27d2d61f584f6
t1512: ignore whitespaces in wc -l output

Some implementations of sed (e.g. MacOS X) have whitespaces in the
output of "wc -l" that reads from the standard input.  Ignore these
whitespaces by not quoting the command substitution to be compared
with the constant "16".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1512-rev-parse-disambiguation.sh