t6022: Use -eq not = to test output of wc -l
authorBrian Gernhardt <brian@gernhardtsoftware.com>
Mon, 8 Nov 2010 21:29:26 +0000 (16:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Nov 2010 21:50:20 +0000 (13:50 -0800)
When comparing numbers such as "3" to "$(wc -l)", we should check for
numerical equality using -eq instead of string equality using = because
some implementations of wc output extra whitespace.

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found