[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-31 Thread Jani Nikula
On Wed, 30 May 2012, Tomi Ollila wrote: > On Wed, May 30 2012, Jameson Graef Rollins > wrote: > >> On Wed, May 30 2012, Mike Kelly wrote: >>> FreeBSD's `wc -l` includes some white space in front of the number. >>> Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures >>> we

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-31 Thread Tomi Ollila
On Wed, May 30 2012, Jameson Graef Rollins wrote: > On Wed, May 30 2012, Mike Kelly wrote: >> FreeBSD's `wc -l` includes some white space in front of the number. >> Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures >> we do a proper numeric comparision, and in a portable

Re: [PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-31 Thread Jani Nikula
On Wed, 30 May 2012, Tomi Ollila tomi.oll...@iki.fi wrote: On Wed, May 30 2012, Jameson Graef Rollins jroll...@finestructure.net wrote: On Wed, May 30 2012, Mike Kelly pi...@pioto.org wrote: FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Jameson Graef Rollins
On Wed, May 30 2012, Mike Kelly wrote: > FreeBSD's `wc -l` includes some white space in front of the number. > Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures > we do a proper numeric comparision, and in a portable way. Is there a way we can avoid adding another new test

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper numeric comparision, and in a portable way. --- test/count |8 test/test-lib.sh | 22 ++ 2 files

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper numeric comparision, and in a portable way. --- test/count |8 test/test-lib.sh | 22 ++ 2 files

Re: [PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Jameson Graef Rollins
On Wed, May 30 2012, Mike Kelly pi...@pioto.org wrote: FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper numeric comparision, and in a portable way. Is there a way we can avoid adding

Re: [PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Tomi Ollila
On Wed, May 30 2012, Jameson Graef Rollins jroll...@finestructure.net wrote: On Wed, May 30 2012, Mike Kelly pi...@pioto.org wrote: FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper