| Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | Test for writing and reading a file of over 100 Kbyte |
| 2 | |||||
| 3 | 1 line: "This is the start" | ||||
| 4 | 3001 lines: "This is the leader" | ||||
| 5 | 1 line: "This is the middle" | ||||
| 6 | 3001 lines: "This is the trailer" | ||||
| 7 | 1 line: "This is the end" | ||||
| 8 | |||||
| 9 | STARTTEST | ||||
| 10 | :%d | ||||
| 11 | aThis is the start | ||||
| 12 | This is the leader | ||||
| 13 | This is the middle | ||||
| 14 | This is the trailer | ||||
| 15 | This is the endkY3000p2GY3000p | ||||
| 16 | :w! Xtest | ||||
| 17 | :%d | ||||
| 18 | :e! Xtest | ||||
| 19 | :.w! test.out | ||||
| 20 | 3003G:.w >>test.out | ||||
| 21 | 6005G:.w >>test.out | ||||
| 22 | :qa! | ||||
| 23 | ENDTEST | ||||
| 24 | |||||