Inserts 2 million lines into the buffer, writes them to test.out
and replaces test.out with its cksum.

cksum is part of POSIX and so should be available on most Unixes.
If it isn't available then the test will be skipped.

STARTTEST
:so small.vim
:if !executable("cksum")
: e! test.ok
: w! test.out
: qa!
:endif
:set fileformat=unix undolevels=-1
ggdG
:let i = 1
:while i <= 10000 | put =i | let i += 1 | endwhile
ggddyGG199p
:w! test.out
:%!cksum test.out
:wq! test.out
ENDTEST

