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.
11 lines
189 B
Text
11 lines
189 B
Text
rm -f static.log
|
|
|
|
redo static1 static2
|
|
|
|
touch static.in
|
|
../flush-cache.sh
|
|
redo-ifchange static1 static2
|
|
|
|
COUNT=$(wc -l <static.log)
|
|
. ../skip-if-minimal-do.sh
|
|
[ "$COUNT" -eq 4 ] || exit 55
|