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.
8 lines
176 B
Text
8 lines
176 B
Text
. ./skip-if-minimal-do.sh
|
|
rm -f makedir.log
|
|
redo makedir
|
|
touch makedir/outfile
|
|
./flush-cache.sh
|
|
redo-ifchange makedir
|
|
COUNT=$(wc -l <makedir.log)
|
|
[ "$COUNT" -eq 1 ] || exit 99
|