1Test for Bufleave autocommand that deletes the buffer we are about to edit.
2
3STARTTEST
4:so small.vim
5:au BufLeave test9.in bwipe yy
6:e yy
7:/^start of/,$w! test.out      " Write contents of this file
8:qa!
9ENDTEST
10
11start of test file xx
12end of test file xx
13