summaryrefslogtreecommitdiffstats
path: root/src/testdir/test26.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-13 18:59:55 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-13 18:59:55 +0200
commitb96a32ef1a95dd4ebf9413d686bccb1b4645f74b (patch)
treeb9672586db9ccb2505455420ab8bf7d30561c7ea /src/testdir/test26.in
parent7ac616cb0a52bc72b449e19cf9db93bee116c15a (diff)
patch 8.2.1439: tiny and small builds have no test coveragev8.2.1439
Problem: Tiny and small builds have no test coverage. Solution: Restore tests that do not depend on the +eval feature. (Ken Takata, closes #6696)
Diffstat (limited to 'src/testdir/test26.in')
-rw-r--r--src/testdir/test26.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/testdir/test26.in b/src/testdir/test26.in
new file mode 100644
index 0000000000..2d294cae09
--- /dev/null
+++ b/src/testdir/test26.in
@@ -0,0 +1,24 @@
+Test for writing and reading a file of over 100 Kbyte
+
+1 line: "This is the start"
+3001 lines: "This is the leader"
+1 line: "This is the middle"
+3001 lines: "This is the trailer"
+1 line: "This is the end"
+
+STARTTEST
+:%d
+aThis is the start
+This is the leader
+This is the middle
+This is the trailer
+This is the endkY3000p2GY3000p
+:w! Xtest
+:%d
+:e! Xtest
+:.w! test.out
+3003G:.w >>test.out
+6005G:.w >>test.out
+:qa!
+ENDTEST
+