annotate src/testdir/test7.in @ 8473:ade1797aa6f4 v7.4.1527

commit https://github.com/vim/vim/commit/562ca7142845273bca656aa5aeeda90f001062e0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 9 21:50:05 2016 +0100 patch 7.4.1527 Problem: Channel test is flaky on MS-Windows. Solution: Limit the select() timeout to 50 msec and try with a new socket if it fails.
author Christian Brabandt <cb@256bit.org>
date Wed, 09 Mar 2016 22:00:05 +0100
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Test for autocommand that changes the buffer list, when doing ":ball".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 /^start of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 A1:.,/end of/w! Xxx1 " write test file Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :sp Xxx1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 $r2:.,/end of/w! Xxx2 " write test file Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :sp Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 $r3:.,/end of/w! Xxx3 " write test file Xxx3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :sp Xxx3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :au BufReadPost Xxx2 bwipe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 $r4:ball " open window for all args, close Xxx2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :.,$w! test.out " Write contents of this file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :w >>test.out " Append contents of second window (Xxx1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :/^start of/,$w >>test.out " Append contents of last window (this file)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 start of test file Xxx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 this is a test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 end of test file Xxx