Fix tests on MacOS.

This comes down to the lack of a 'seq' command (what?!) and the fact that
BSD "wc -l" returns extra whitespace, while the GNU version doesn't.  We
should be using numeric comparisons instead of string comparisons, and then
it's ok.
This commit is contained in:
Avery Pennarun 2010-12-12 05:38:30 -08:00
commit 8f9453a55d
12 changed files with 23 additions and 17 deletions

View file

@ -8,4 +8,4 @@ redo-ifchange static1 static2
COUNT=$(wc -l <static.log)
. ../skip-if-minimal-do.sh
[ "$COUNT" = 4 ] || exit 55
[ "$COUNT" -eq 4 ] || exit 55