Skip to content

Instantly share code, notes, and snippets.

@justinmk
Created January 13, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinmk/1ffedab30fa621d17444 to your computer and use it in GitHub Desktop.
Save justinmk/1ffedab30fa621d17444 to your computer and use it in GitHub Desktop.
#6283.1 errored ran for 20 min 53 sec about an hour ago master - Merge pull request #1782 from fwalch/small-patches
Using worker: worker-linux-4-1.bb.travis-ci.org:travis-linux-16
travis_fold:start:system_info
Build system information
Build language: c
Build image provisioning date and time
Sat Dec 13 04:56:50 UTC 2014
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Cookbooks Version
4f2272c https://github.com/travis-ci/travis-cookbooks/tree/4f2272c
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.33
Pre-installed Go versions
go1.4
Redis version
redis-server 2.8.18
riak version
1.4.12
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
Cassandra version
2.0.9
RabbitMQ Version
3.4.2
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.4
Default Sphinx version
2.1.9
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T20:58:10+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_72, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-042stab090.5", arch: "amd64", family: "unix"
travis_fold:end:system_info

travis_fold:start:git.checkout
travis_time:start:0168834c
$ git clone --depth=50 --branch=master git://github.com/neovim/neovim.git neovim/neovim
Cloning into 'neovim/neovim'...
remote: Counting objects: 4789, done.
remote: Compressing objects: 0% (1/2925) 
remote: Compressing objects: 1% (30/2925) 
remote: Compressing objects: 2% (59/2925) 
remote: Compressing objects: 3% (88/2925) 
remote: Compressing objects: 4% (117/2925) 
remote: Compressing objects: 5% (147/2925) 
remote: Compressing objects: 6% (176/2925) 
remote: Compressing objects: 7% (205/2925) 
remote: Compressing objects: 8% (234/2925) 
remote: Compressing objects: 9% (264/2925) 
remote: Compressing objects: 10% (293/2925) 
remote: Compressing objects: 11% (322/2925) 
remote: Compressing objects: 12% (351/2925) 
remote: Compressing objects: 13% (381/2925) 
remote: Compressing objects: 14% (410/2925) 
remote: Compressing objects: 15% (439/2925) 
remote: Compressing objects: 16% (468/2925) 
remote: Compressing objects: 17% (498/2925) 
remote: Compressing objects: 18% (527/2925) 
remote: Compressing objects: 19% (556/2925) 
remote: Compressing objects: 20% (585/2925) 
remote: Compressing objects: 21% (615/2925) 
remote: Compressing objects: 22% (644/2925) 
remote: Compressing objects: 23% (673/2925) 
remote: Compressing objects: 24% (702/2925) 
remote: Compressing objects: 25% (732/2925) 
remote: Compressing objects: 26% (761/2925) 
remote: Compressing objects: 27% (790/2925) 
remote: Compressing objects: 28% (819/2925) 
remote: Compressing objects: 29% (849/2925) 
remote: Compressing objects: 30% (878/2925) 
remote: Compressing objects: 31% (907/2925) 
remote: Compressing objects: 32% (936/2925) 
remote: Compressing objects: 33% (966/2925) 
remote: Compressing objects: 34% (995/2925) 
remote: Compressing objects: 35% (1024/2925) 
remote: Compressing objects: 36% (1053/2925) 
remote: Compressing objects: 37% (1083/2925) 
remote: Compressing objects: 38% (1112/2925) 
remote: Compressing objects: 39% (1141/2925) 
remote: Compressing objects: 40% (1170/2925) 
remote: Compressing objects: 41% (1200/2925) 
remote: Compressing objects: 42% (1229/2925) 
remote: Compressing objects: 43% (1258/2925) 
remote: Compressing objects: 44% (1287/2925) 
remote: Compressing objects: 45% (1317/2925) 
remote: Compressing objects: 46% (1346/2925) 
remote: Compressing objects: 47% (1375/2925) 
remote: Compressing objects: 48% (1404/2925) 
remote: Compressing objects: 49% (1434/2925) 
remote: Compressing objects: 50% (1463/2925) 
remote: Compressing objects: 51% (1492/2925) 
remote: Compressing objects: 52% (1521/2925) 
remote: Compressing objects: 53% (1551/2925) 
remote: Compressing objects: 54% (1580/2925) 
remote: Compressing objects: 55% (1609/2925) 
remote: Compressing objects: 56% (1638/2925) 
remote: Compressing objects: 57% (1668/2925) 
remote: Compressing objects: 58% (1697/2925) 
remote: Compressing objects: 59% (1726/2925) 
remote: Compressing objects: 60% (1755/2925) 
remote: Compressing objects: 61% (1785/2925) 
remote: Compressing objects: 62% (1814/2925) 
remote: Compressing objects: 63% (1843/2925) 
remote: Compressing objects: 64% (1872/2925) 
remote: Compressing objects: 65% (1902/2925) 
remote: Compressing objects: 66% (1931/2925) 
remote: Compressing objects: 67% (1960/2925) 
remote: Compressing objects: 68% (1989/2925) 
remote: Compressing objects: 69% (2019/2925) 
remote: Compressing objects: 70% (2048/2925) 
remote: Compressing objects: 70% (2059/2925) 
remote: Compressing objects: 71% (2077/2925) 
remote: Compressing objects: 72% (2106/2925) 
remote: Compressing objects: 73% (2136/2925) 
remote: Compressing objects: 74% (2165/2925) 
remote: Compressing objects: 75% (2194/2925) 
remote: Compressing objects: 76% (2223/2925) 
remote: Compressing objects: 77% (2253/2925) 
remote: Compressing objects: 78% (2282/2925) 
remote: Compressing objects: 79% (2311/2925) 
remote: Compressing objects: 80% (2340/2925) 
remote: Compressing objects: 81% (2370/2925) 
remote: Compressing objects: 82% (2399/2925) 
remote: Compressing objects: 83% (2428/2925) 
remote: Compressing objects: 84% (2457/2925) 
remote: Compressing objects: 85% (2487/2925) 
remote: Compressing objects: 86% (2516/2925) 
remote: Compressing objects: 87% (2545/2925) 
remote: Compressing objects: 88% (2574/2925) 
remote: Compressing objects: 89% (2604/2925) 
remote: Compressing objects: 90% (2633/2925) 
remote: Compressing objects: 91% (2662/2925) 
remote: Compressing objects: 92% (2691/2925) 
remote: Compressing objects: 93% (2721/2925) 
remote: Compressing objects: 94% (2750/2925) 
remote: Compressing objects: 95% (2779/2925) 
remote: Compressing objects: 96% (2808/2925) 
remote: Compressing objects: 97% (2838/2925) 
remote: Compressing objects: 98% (2867/2925) 
remote: Compressing objects: 99% (2896/2925) 
remote: Compressing objects: 100% (2925/2925) 
remote: Compressing objects: 100% (2925/2925), done.
Receiving objects: 0% (1/4789)
Receiving objects: 1% (48/4789)
Receiving objects: 2% (96/4789)
Receiving objects: 3% (144/4789)
Receiving objects: 4% (192/4789)
Receiving objects: 5% (240/4789)
Receiving objects: 6% (288/4789)
Receiving objects: 7% (336/4789)
Receiving objects: 8% (384/4789)
Receiving objects: 9% (432/4789)
Receiving objects: 10% (479/4789)
Receiving objects: 11% (527/4789)
Receiving objects: 12% (575/4789)
Receiving objects: 13% (623/4789)
Receiving objects: 14% (671/4789)
Receiving objects: 15% (719/4789)
Receiving objects: 16% (767/4789)
Receiving objects: 17% (815/4789)
Receiving objects: 18% (863/4789)
Receiving objects: 19% (910/4789)
Receiving objects: 20% (958/4789)
Receiving objects: 21% (1006/4789)
Receiving objects: 22% (1054/4789)
Receiving objects: 23% (1102/4789)
Receiving objects: 24% (1150/4789)
Receiving objects: 25% (1198/4789)
Receiving objects: 26% (1246/4789)
Receiving objects: 27% (1294/4789)
Receiving objects: 28% (1341/4789)
Receiving objects: 29% (1389/4789)
Receiving objects: 30% (1437/4789)
Receiving objects: 31% (1485/4789)
Receiving objects: 32% (1533/4789)
Receiving objects: 33% (1581/4789)
Receiving objects: 34% (1629/4789)
Receiving objects: 35% (1677/4789)
Receiving objects: 36% (1725/4789)
Receiving objects: 37% (1772/4789)
Receiving objects: 38% (1820/4789)
Receiving objects: 39% (1868/4789)
Receiving objects: 40% (1916/4789)
Receiving objects: 41% (1964/4789)
Receiving objects: 42% (2012/4789)
Receiving objects: 43% (2060/4789)
Receiving objects: 44% (2108/4789)
Receiving objects: 45% (2156/4789)
Receiving objects: 46% (2203/4789)
Receiving objects: 47% (2251/4789)
Receiving objects: 48% (2299/4789)
Receiving objects: 49% (2347/4789)
Receiving objects: 50% (2395/4789)
Receiving objects: 51% (2443/4789)
Receiving objects: 52% (2491/4789)
Receiving objects: 53% (2539/4789)
Receiving objects: 54% (2587/4789)
Receiving objects: 55% (2634/4789)
Receiving objects: 56% (2682/4789)
Receiving objects: 57% (2730/4789)
Receiving objects: 58% (2778/4789)
Receiving objects: 59% (2826/4789)
Receiving objects: 60% (2874/4789)
Receiving objects: 61% (2922/4789)
Receiving objects: 62% (2970/4789)
Receiving objects: 63% (3018/4789)
Receiving objects: 64% (3065/4789)
Receiving objects: 65% (3113/4789)
Receiving objects: 66% (3161/4789)
Receiving objects: 67% (3209/4789)
Receiving objects: 68% (3257/4789)
Receiving objects: 69% (3305/4789)
Receiving objects: 70% (3353/4789)
Receiving objects: 71% (3401/4789)
Receiving objects: 72% (3449/4789)
Receiving objects: 73% (3496/4789)
Receiving objects: 74% (3544/4789)
Receiving objects: 75% (3592/4789)
Receiving objects: 76% (3640/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 77% (3688/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 78% (3736/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 79% (3784/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 80% (3832/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 81% (3880/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 82% (3927/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 83% (3975/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 84% (4023/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 85% (4071/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 86% (4119/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 87% (4167/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 88% (4215/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 89% (4263/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 90% (4311/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 91% (4358/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 92% (4406/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 93% (4454/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 94% (4502/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 95% (4550/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 96% (4598/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 97% (4646/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 98% (4694/4789), 5.56 MiB | 11.08 MiB/s
remote: Total 4789 (delta 2132), reused 3885 (delta 1533)
Receiving objects: 99% (4742/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 100% (4789/4789), 5.56 MiB | 11.08 MiB/s
Receiving objects: 100% (4789/4789), 8.01 MiB | 11.08 MiB/s, done.
Resolving deltas: 0% (0/2132)
Resolving deltas: 4% (96/2132)
Resolving deltas: 5% (109/2132)
Resolving deltas: 6% (148/2132)
Resolving deltas: 7% (150/2132)
Resolving deltas: 8% (173/2132)
Resolving deltas: 11% (239/2132)
Resolving deltas: 17% (380/2132)
Resolving deltas: 19% (408/2132)
Resolving deltas: 20% (445/2132)
Resolving deltas: 21% (449/2132)
Resolving deltas: 33% (709/2132)
Resolving deltas: 34% (727/2132)
Resolving deltas: 35% (748/2132)
Resolving deltas: 36% (769/2132)
Resolving deltas: 44% (954/2132)
Resolving deltas: 45% (960/2132)
Resolving deltas: 46% (985/2132)
Resolving deltas: 47% (1020/2132)
Resolving deltas: 48% (1027/2132)
Resolving deltas: 49% (1047/2132)
Resolving deltas: 50% (1068/2132)
Resolving deltas: 51% (1093/2132)
Resolving deltas: 52% (1123/2132)
Resolving deltas: 53% (1133/2132)
Resolving deltas: 54% (1155/2132)
Resolving deltas: 55% (1177/2132)
Resolving deltas: 56% (1194/2132)
Resolving deltas: 57% (1217/2132)
Resolving deltas: 58% (1241/2132)
Resolving deltas: 59% (1259/2132)
Resolving deltas: 60% (1280/2132)
Resolving deltas: 61% (1302/2132)
Resolving deltas: 62% (1326/2132)
Resolving deltas: 63% (1350/2132)
Resolving deltas: 64% (1366/2132)
Resolving deltas: 65% (1390/2132)
Resolving deltas: 67% (1445/2132)
Resolving deltas: 68% (1454/2132)
Resolving deltas: 69% (1476/2132)
Resolving deltas: 70% (1502/2132)
Resolving deltas: 71% (1521/2132)
Resolving deltas: 72% (1545/2132)
Resolving deltas: 73% (1562/2132)
Resolving deltas: 74% (1583/2132)
Resolving deltas: 75% (1599/2132)
Resolving deltas: 76% (1622/2132)
Resolving deltas: 77% (1662/2132)
Resolving deltas: 78% (1663/2132)
Resolving deltas: 79% (1687/2132)
Resolving deltas: 80% (1706/2132)
Resolving deltas: 81% (1739/2132)
Resolving deltas: 82% (1766/2132)
Resolving deltas: 83% (1773/2132)
Resolving deltas: 84% (1793/2132)
Resolving deltas: 85% (1823/2132)
Resolving deltas: 86% (1841/2132)
Resolving deltas: 87% (1855/2132)
Resolving deltas: 88% (1877/2132)
Resolving deltas: 89% (1898/2132)
Resolving deltas: 90% (1919/2132)
Resolving deltas: 91% (1954/2132)
Resolving deltas: 92% (1965/2132)
Resolving deltas: 93% (2001/2132)
Resolving deltas: 94% (2005/2132)
Resolving deltas: 95% (2026/2132)
Resolving deltas: 96% (2049/2132)
Resolving deltas: 99% (2121/2132)
Resolving deltas: 100% (2132/2132)
Resolving deltas: 100% (2132/2132), done.
Checking connectivity... done.
travis_time:end:0168834c:start=1421159989256602610,finish=1421159992986518223,duration=3729915613
$ cd neovim/neovim
$ git checkout -qf 9b4f6fbd33ebd452d472b0333accfcb34e01173b
travis_fold:end:git.checkout

Setting environment variables from .travis.yml
$ export CI_SCRIPTS=$TRAVIS_BUILD_DIR/.ci
$ export BUILD_NVIM_DEPS=false
$ export MAKE_CMD="make -j2"
$ export CFLAGS='-DMIN_LOG_LEVEL=0'
$ export CI_TARGET=clang-asan
$ export CC=gcc
$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
travis_fold:start:before_install
travis_time:start:0be91e97
$ if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-mark hold oracle-java7-installer oracle-java8-installer; sudo apt-get update; elif [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
oracle-java7-installer set on hold.
oracle-java8-installer set on hold.
0% [Working]
Ign http://downloads-distro.mongodb.org dist InRelease
3% [Connecting to us.archive.ubuntu.com (2001:67c:1562::16)] [Connecting to sec
Hit http://downloads-distro.mongodb.org dist Release.gpg
12% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://downloads-distro.mongodb.org dist Release
12% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
12% [Release gpgv 2,042 B] [Waiting for headers] [Connecting to security.ubuntu
Ign http://us.archive.ubuntu.com precise InRelease
17% [Release gpgv 2,042 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Ign http://us.archive.ubuntu.com precise-updates InRelease
21% [Release gpgv 2,042 B] [Waiting for headers] [Connecting to security.ubuntu
Ign http://us.archive.ubuntu.com precise-backports InRelease
25% [Release gpgv 2,042 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Hit http://apt.basho.com precise InRelease
25% [Release gpgv 2,042 B] [Waiting for headers] [Connecting to security.ubuntu
Hit http://us.archive.ubuntu.com precise Release.gpg
29% [Release gpgv 2,042 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
94% [Release gpgv 2,042 B] [1 Release.gpg 198 B/198 B 100%] [Connecting to secu
94% [Release gpgv 2,042 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:2 http://apt.postgresql.org precise-pgdg InRelease [33.8 kB]
16% [Release gpgv 2,042 B] [Waiting for headers] [Connecting to security.ubuntu
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
40% [InRelease gpgv 6,591 B] [Waiting for headers] [Connecting to security.ubun
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
40% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for header
Ign http://downloads-distro.mongodb.org dist/10gen TranslationIndex
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://apt.basho.com precise/main amd64 Packages
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
Hit http://apt.basho.com precise/main i386 Packages
40% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::17
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
100% [2 InRelease gpgv 33.8 kB] [Waiting for headers] [Connecting to security.u
Hit http://us.archive.ubuntu.com precise Release
100% [2 InRelease gpgv 33.8 kB] [Waiting for headers] [Connecting to security.u
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
100% [Release gpgv 49.6 kB] [Waiting for headers] [Connecting to security.ubunt
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:3 http://us.archive.ubuntu.com precise-updates Release [194 kB]
21% [3 Release 13.9 kB/194 kB 7%] [Connecting to security.ubuntu.com (2001:67c:
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US
21% [3 Release 13.9 kB/194 kB 7%] [Connecting to security.ubuntu.com (2001:67c:
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en
21% [3 Release 13.9 kB/194 kB 7%] [Connecting to security.ubuntu.com (2001:67c:
Get:4 http://apt.postgresql.org precise-pgdg/main amd64 Packages [51.5 kB]
17% [3 Release 13.9 kB/194 kB 7%] [Connecting to security.ubuntu.com (2001:67c:
Ign http://ppa.launchpad.net precise InRelease
31% [3 Release 23.9 kB/194 kB 12%] [Connecting to security.ubuntu.com (2001:67c
Ign http://ppa.launchpad.net precise InRelease
31% [3 Release 23.9 kB/194 kB 12%] [Connecting to security.ubuntu.com (2001:67c
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
31% [3 Release 23.9 kB/194 kB 12%] [Connecting to security.ubuntu.com (2001:67c
Ign http://ppa.launchpad.net precise InRelease
31% [3 Release 23.9 kB/194 kB 12%] [Connecting to security.ubuntu.com (2001:67c
Ign http://ppa.launchpad.net precise InRelease
31% [3 Release 23.9 kB/194 kB 12%] [Connecting to security.ubuntu.com (2001:67c
55% [3 Release 68.2 kB/194 kB 35%] [Connecting to security.ubuntu.com (2001:67c
Ign http://apt.basho.com precise/main TranslationIndex
55% [3 Release 68.2 kB/194 kB 35%] [Connecting to security.ubuntu.com (2001:67c
64% [4 Packages bzip2 0 B] [3 Release 93.9 kB/194 kB 48%] [Connecting to securi
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Get:5 http://apt.postgresql.org precise-pgdg/main i386 Packages [51.6 kB]
71% [4 Packages bzip2 0 B] [3 Release 120 kB/194 kB 62%] [Connecting to securit
Get:6 http://ppa.launchpad.net precise Release.gpg [316 B]
80% [4 Packages bzip2 0 B] [3 Release 148 kB/194 kB 76%] [Connecting to securit
100% [3 Release 194 kB/194 kB 100%] [Connecting to security.ubuntu.com (2001:67
100% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for heade
Hit http://us.archive.ubuntu.com precise-backports Release
100% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for heade
100% [5 Packages bzip2 0 B] [Connecting to security.ubuntu.com (2001:67c:1562::
100% [5 Packages bzip2 0 B] [3 Release gpgv 194 kB] [Connecting to security.ubu
Ign http://apt.postgresql.org precise-pgdg/main TranslationIndex
100% [5 Packages bzip2 0 B] [3 Release gpgv 194 kB] [Connecting to security.ubu
100% [5 Packages bzip2 0 B] [Waiting for headers] [Connecting to security.ubunt
Hit http://us.archive.ubuntu.com precise/main Sources
100% [5 Packages bzip2 0 B] [Waiting for headers] [Connecting to security.ubunt
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
100% [5 Packages bzip2 0 B] [Release gpgv 53.1 kB] [Waiting for headers] [Conne
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
100% [5 Packages bzip2 0 B] [Release gpgv 53.1 kB] [Waiting for headers] [Conne
Hit http://ppa.launchpad.net precise Release.gpg
100% [5 Packages bzip2 0 B] [Release gpgv 53.1 kB] [Waiting for headers] [Conne
100% [5 Packages bzip2 0 B] [Waiting for headers] [Connecting to security.ubunt
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
Ign http://apt.basho.com precise/main Translation-en_US
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
Ign http://apt.basho.com precise/main Translation-en
100% [Waiting for headers] [Connecting to security.ubuntu.com (2001:67c:1562::1
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
100% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for heade
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
100% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for heade
Get:7 http://us.archive.ubuntu.com precise-updates/main Sources [482 kB]
44% [7 Sources 26.7 kB/482 kB 6%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise Release.gpg
56% [7 Sources 121 kB/482 kB 25%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
56% [7 Sources 121 kB/482 kB 25%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise Release
56% [7 Sources 121 kB/482 kB 25%] [Connecting to security.ubuntu.com (2001:67c:
56% [Release gpgv 12.4 kB] [7 Sources 121 kB/482 kB 25%] [Connecting to securit
58% [7 Sources 141 kB/482 kB 29%] [Connecting to security.ubuntu.com (2001:67c:
58% [Release gpgv 12.9 kB] [7 Sources 141 kB/482 kB 29%] [Connecting to securit
58% [7 Sources 141 kB/482 kB 29%] [Connecting to security.ubuntu.com (2001:67c:
58% [Release gpgv 12.9 kB] [7 Sources 141 kB/482 kB 29%] [Connecting to securit
58% [7 Sources 141 kB/482 kB 29%] [Connecting to security.ubuntu.com (2001:67c:
Get:8 http://ppa.launchpad.net precise Release [12.9 kB]
62% [7 Sources 170 kB/482 kB 35%] [Connecting to security.ubuntu.com (2001:67c:
62% [8 Release gpgv 12.9 kB] [7 Sources 170 kB/482 kB 35%] [Connecting to secur
76% [7 Sources 284 kB/482 kB 59%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise Release
76% [7 Sources 284 kB/482 kB 59%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise Release
76% [7 Sources 284 kB/482 kB 59%] [Connecting to security.ubuntu.com (2001:67c:
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main amd64 Packages
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main i386 Packages
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main TranslationIndex
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
76% [7 Sources 284 kB/482 kB 59%] [Connecting to security.ubuntu.com (2001:67c:
76% [Release gpgv 12.4 kB] [7 Sources 284 kB/482 kB 59%] [Connecting to securit
78% [7 Sources 298 kB/482 kB 62%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise/main TranslationIndex
84% [7 Sources 352 kB/482 kB 73%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
84% [7 Sources 352 kB/482 kB 73%] [Connecting to security.ubuntu.com (2001:67c:
Hit http://ppa.launchpad.net precise/main TranslationIndex
94% [7 Sources 435 kB/482 kB 90%] [Connecting to security.ubuntu.com (2001:67c:
Get:9 http://ppa.launchpad.net precise/main amd64 Packages [1,398 B]
94% [7 Sources 435 kB/482 kB 90%] [Connecting to security.ubuntu.com (2001:67c:
Get:10 http://ppa.launchpad.net precise/main i386 Packages [943 B]
94% [7 Sources 435 kB/482 kB 90%] [Connecting to security.ubuntu.com (2001:67c:
94% [9 Packages bzip2 0 B] [7 Sources 435 kB/482 kB 90%] [Connecting to securit
Get:11 http://ppa.launchpad.net precise/main TranslationIndex [199 B]
94% [9 Packages bzip2 0 B] [7 Sources 435 kB/482 kB 90%] [Connecting to securit
94% [9 Packages bzip2 0 B] [7 Sources 435 kB/482 kB 90%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main Translation-en
94% [9 Packages bzip2 0 B] [7 Sources 435 kB/482 kB 90%] [Connecting to securit
96% [7 Sources 449 kB/482 kB 93%] [Connecting to security.ubuntu.com (2001:67c:
96% [10 Packages bzip2 0 B] [7 Sources 449 kB/482 kB 93%] [Connecting to securi
Ign http://apt.postgresql.org precise-pgdg/main Translation-en_US
96% [10 Packages bzip2 0 B] [7 Sources 449 kB/482 kB 93%] [Connecting to securi
96% [7 Sources 449 kB/482 kB 93%] [Connecting to security.ubuntu.com (2001:67c:
100% [Connecting to security.ubuntu.com (2001:67c:1562::17)] [Waiting for heade
Get:12 http://us.archive.ubuntu.com precise-updates/restricted Sources [7,981 B]
99% [12 Sources 1,075 B/7,981 B 13%] [Connecting to security.ubuntu.com (2001:6
99% [7 Sources bzip2 0 B] [12 Sources 1,075 B/7,981 B 13%] [Connecting to secur
100% [7 Sources bzip2 0 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:13 http://us.archive.ubuntu.com precise-updates/universe Sources [112 kB]
89% [7 Sources bzip2 0 B] [13 Sources 6,989 B/112 kB 6%] [Connecting to securit
Ign http://apt.postgresql.org precise-pgdg/main Translation-en
89% [7 Sources bzip2 0 B] [13 Sources 6,989 B/112 kB 6%] [Connecting to securit
Hit http://ppa.launchpad.net precise/main amd64 Packages
93% [7 Sources bzip2 0 B] [13 Sources 44.1 kB/112 kB 39%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main i386 Packages
93% [7 Sources bzip2 0 B] [13 Sources 44.1 kB/112 kB 39%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main TranslationIndex
93% [7 Sources bzip2 0 B] [13 Sources 44.1 kB/112 kB 39%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main amd64 Packages
93% [7 Sources bzip2 0 B] [13 Sources 44.1 kB/112 kB 39%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main i386 Packages
93% [7 Sources bzip2 0 B] [13 Sources 44.1 kB/112 kB 39%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main TranslationIndex
100% [7 Sources bzip2 0 B] [13 Sources 110 kB/112 kB 98%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
100% [7 Sources bzip2 0 B] [13 Sources 111 kB/112 kB 99%] [Connecting to securi
100% [7 Sources bzip2 0 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:14 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,929 B]
100% [7 Sources bzip2 0 B] [14 Sources 8,929 B/8,929 B 100%] [Connecting to sec
100% [7 Sources bzip2 0 B] [Connecting to security.ubuntu.com (2001:67c:1562::1
Get:15 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [861 kB]
53% [7 Sources bzip2 0 B] [15 Packages 0 B/861 kB 0%] [Connecting to security.u
Get:16 http://ppa.launchpad.net precise/main Translation-en [735 B]
54% [7 Sources bzip2 0 B] [15 Packages 16.8 kB/861 kB 2%] [Connecting to securi
54% [7 Sources bzip2 0 B] [15 Packages 16.8 kB/861 kB 2%] [Connecting to securi
Hit http://ppa.launchpad.net precise/main Translation-en
59% [7 Sources bzip2 0 B] [15 Packages 122 kB/861 kB 14%] [Connecting to securi
64% [15 Packages 211 kB/861 kB 25%] [Connecting to security.ubuntu.com (2001:67
64% [12 Sources bzip2 0 B] [15 Packages 211 kB/861 kB 25%] [Connecting to secur
65% [15 Packages 228 kB/861 kB 27%] [Waiting for headers] [Waiting for headers]
65% [13 Sources bzip2 0 B] [15 Packages 230 kB/861 kB 27%] [Waiting for headers
Hit http://ppa.launchpad.net precise/main Translation-en
66% [13 Sources bzip2 0 B] [15 Packages 240 kB/861 kB 28%] [Waiting for headers
69% [15 Packages 297 kB/861 kB 34%] [Waiting for headers] [Waiting for headers]
69% [14 Sources bzip2 0 B] [15 Packages 297 kB/861 kB 34%] [Waiting for headers
77% [15 Packages 437 kB/861 kB 51%] [Waiting for headers] [Waiting for headers]
Ign http://security.ubuntu.com precise-security InRelease
Get:17 http://www.rabbitmq.com testing InRelease [17.9 kB]
77% [15 Packages 437 kB/861 kB 51%]
77% [16 Translation-en bzip2 0 B] [15 Packages 437 kB/861 kB 51%]
77% [16 Translation-en bzip2 0 B] [17 InRelease gpgv 17.9 kB] [15 Packages 437
77% [17 InRelease gpgv 17.9 kB] [15 Packages 437 kB/861 kB 51%] [Waiting for he
77% [15 Packages 437 kB/861 kB 51%] [Waiting for headers]
Get:18 http://security.ubuntu.com precise-security Release.gpg [198 B]
78% [15 Packages 465 kB/861 kB 54%] [18 Release.gpg 198 B/198 B 100%] [Waiting
78% [15 Packages 465 kB/861 kB 54%] [Waiting for headers]
Get:19 http://security.ubuntu.com precise-security Release [53.0 kB]
79% [15 Packages 494 kB/861 kB 57%] [19 Release 13.9 kB/53.0 kB 26%] [Waiting f
Get:20 http://www.rabbitmq.com testing/main amd64 Packages [497 B]
82% [15 Packages 525 kB/861 kB 61%] [19 Release 42.5 kB/53.0 kB 80%]
82% [20 Packages gzip 0 B] [15 Packages 525 kB/861 kB 61%] [19 Release 42.5 kB/
82% [15 Packages 537 kB/861 kB 62%] [19 Release 42.5 kB/53.0 kB 80%] [Waiting f
84% [15 Packages 557 kB/861 kB 65%] [Waiting for headers]
84% [19 Release gpgv 53.0 kB] [15 Packages 557 kB/861 kB 65%] [Waiting for head
87% [15 Packages 619 kB/861 kB 72%] [Waiting for headers]
Get:21 http://www.rabbitmq.com testing/main i386 Packages [497 B]
Ign http://www.rabbitmq.com testing/main TranslationIndex
87% [15 Packages 619 kB/861 kB 72%] [Waiting for headers]
87% [21 Packages gzip 0 B] [15 Packages 619 kB/861 kB 72%] [Waiting for headers
89% [15 Packages 651 kB/861 kB 76%] [Waiting for headers] [Waiting for headers]
Get:22 http://security.ubuntu.com precise-security/main Sources [121 kB]
84% [15 Packages 651 kB/861 kB 76%] [22 Sources 10.7 kB/121 kB 9%] [Waiting for
91% [15 Packages 682 kB/861 kB 79%] [Waiting for headers]
91% [22 Sources bzip2 0 B] [15 Packages 682 kB/861 kB 79%] [Waiting for headers
Get:23 http://security.ubuntu.com precise-security/restricted Sources [3,759 B]
94% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [Waiting for headers
Get:24 http://security.ubuntu.com precise-security/universe Sources [33.5 kB]
94% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [24 Sources 16.1 kB/
94% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [Waiting for headers
Get:25 http://security.ubuntu.com precise-security/multiverse Sources [1,825 B]
94% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [25 Sources 1,825 B/
94% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [Waiting for headers
Get:26 http://security.ubuntu.com precise-security/main amd64 Packages [472 kB]
79% [22 Sources bzip2 0 B] [15 Packages 745 kB/861 kB 87%] [26 Packages 45.5 kB
85% [15 Packages 777 kB/861 kB 90%] [26 Packages 190 kB/472 kB 40%] [Waiting fo
85% [23 Sources bzip2 0 B] [15 Packages 777 kB/861 kB 90%] [26 Packages 190 kB/
87% [15 Packages 785 kB/861 kB 91%] [26 Packages 212 kB/472 kB 45%] [Waiting fo
87% [24 Sources bzip2 0 B] [15 Packages 785 kB/861 kB 91%] [26 Packages 212 kB/
94% [15 Packages 811 kB/861 kB 94%] [26 Packages 373 kB/472 kB 79%] [Waiting fo
94% [25 Sources bzip2 0 B] [15 Packages 811 kB/861 kB 94%] [26 Packages 373 kB/
99% [15 Packages 845 kB/861 kB 98%] [26 Packages 472 kB/472 kB 100%] [Waiting f
99% [15 Packages 845 kB/861 kB 98%] [Waiting for headers] [Waiting for headers]
99% [26 Packages bzip2 0 B] [15 Packages 845 kB/861 kB 98%] [Waiting for header
Get:27 http://security.ubuntu.com precise-security/restricted amd64 Packages [8,943 B]
Get:28 http://security.ubuntu.com precise-security/universe amd64 Packages [104 kB]
98% [26 Packages bzip2 0 B] [15 Packages 845 kB/861 kB 98%] [28 Packages 65.5 k
100% [26 Packages bzip2 0 B] [15 Packages 854 kB/861 kB 99%] [Waiting for heade
Get:29 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,453 B]
100% [26 Packages bzip2 0 B] [15 Packages 854 kB/861 kB 99%] [29 Packages 0 B/2
100% [26 Packages bzip2 0 B] [15 Packages 854 kB/861 kB 99%] [Waiting for heade
Get:30 http://security.ubuntu.com precise-security/main i386 Packages [512 kB]
85% [26 Packages bzip2 0 B] [15 Packages 854 kB/861 kB 99%] [30 Packages 45.6 k
86% [26 Packages bzip2 0 B] [30 Packages 65.5 kB/512 kB 13%] [Waiting for heade
Get:31 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [13.6 kB]
86% [26 Packages bzip2 0 B] [31 Packages 11.0 kB/13.6 kB 81%] [30 Packages 65.5
86% [26 Packages bzip2 0 B] [30 Packages 73.7 kB/512 kB 14%] [Waiting for heade
Get:32 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [251 kB]
80% [26 Packages bzip2 0 B] [32 Packages 4,144 B/251 kB 2%] [30 Packages 78.9 k
96% [26 Packages bzip2 0 B] [32 Packages 110 kB/251 kB 44%] [Waiting for header
Get:33 http://security.ubuntu.com precise-security/restricted i386 Packages [8,939 B]
96% [26 Packages bzip2 0 B] [32 Packages 110 kB/251 kB 44%] [33 Packages 0 B/8,
96% [26 Packages bzip2 0 B] [32 Packages 110 kB/251 kB 44%] [Waiting for header
Get:34 http://security.ubuntu.com precise-security/universe i386 Packages [111 kB]
93% [26 Packages bzip2 0 B] [32 Packages 110 kB/251 kB 44%] [34 Packages 0 B/11
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:35 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,648 B]
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [35 Packages 0 B/2,
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:36 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [36 TranslationInde
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:37 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [37 TranslationInde
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:38 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [38 TranslationInde
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:39 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [39 TranslationInde
97% [26 Packages bzip2 0 B] [32 Packages 144 kB/251 kB 57%] [Waiting for header
Get:40 http://security.ubuntu.com precise-security/main Translation-en [209 kB]
92% [26 Packages bzip2 0 B] [32 Packages 178 kB/251 kB 71%] [40 Translation-en
98% [26 Packages bzip2 0 B] [32 Packages 178 kB/251 kB 71%] [Waiting for header
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
98% [26 Packages bzip2 0 B] [32 Packages 178 kB/251 kB 71%] [Waiting for header
Hit http://security.ubuntu.com precise-security/restricted Translation-en
98% [26 Packages bzip2 0 B] [32 Packages 178 kB/251 kB 71%] [Waiting for header
Get:41 http://security.ubuntu.com precise-security/universe Translation-en [63.4 kB]
96% [26 Packages bzip2 0 B] [32 Packages 180 kB/251 kB 72%] [41 Translation-en
99% [26 Packages bzip2 0 B] [32 Packages 224 kB/251 kB 89%] [Waiting for header
100% [26 Packages bzip2 0 B] [Waiting for headers]
Get:42 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
100% [26 Packages bzip2 0 B] [42 Packages 7,074 B/15.3 kB 46%] [Waiting for hea
100% [26 Packages bzip2 0 B] [Waiting for headers]
Get:43 http://us.archive.ubuntu.com precise-updates/main i386 Packages [893 kB]
81% [26 Packages bzip2 0 B] [43 Packages 9,303 B/893 kB 1%] [Waiting for header
Ign http://www.rabbitmq.com testing/main Translation-en_US
83% [26 Packages bzip2 0 B] [43 Packages 108 kB/893 kB 12%]
Ign http://www.rabbitmq.com testing/main Translation-en
87% [26 Packages bzip2 0 B] [43 Packages 266 kB/893 kB 30%]
91% [43 Packages 460 kB/893 kB 51%]
91% [27 Packages bzip2 0 B] [43 Packages 460 kB/893 kB 51%]
92% [43 Packages 514 kB/893 kB 58%]
92% [28 Packages bzip2 0 B] [43 Packages 514 kB/893 kB 58%]
95% [43 Packages 634 kB/893 kB 71%]
95% [29 Packages bzip2 0 B] [43 Packages 634 kB/893 kB 71%]
95% [43 Packages 634 kB/893 kB 71%]
95% [15 Packages bzip2 0 B] [43 Packages 634 kB/893 kB 71%]
100% [15 Packages bzip2 0 B]
Get:44 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [13.6 kB]
100% [15 Packages bzip2 0 B] [44 Packages 13.6 kB/13.6 kB 100%]
100% [15 Packages bzip2 0 B]
Get:45 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [259 kB]
95% [15 Packages bzip2 0 B] [45 Packages 0 B/259 kB 0%]
100% [15 Packages bzip2 0 B]
Get:46 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
100% [15 Packages bzip2 0 B] [46 Packages 0 B/15.5 kB 0%]
100% [15 Packages bzip2 0 B]
Get:47 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [10.6 kB]
100% [15 Packages bzip2 0 B] [47 TranslationIndex 0 B/10.6 kB 0%]
100% [15 Packages bzip2 0 B]
Get:48 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [7,613 B]
100% [15 Packages bzip2 0 B] [48 TranslationIndex 0 B/7,613 B 0%]
100% [15 Packages bzip2 0 B]
Get:49 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [7,297 B]
100% [15 Packages bzip2 0 B] [49 TranslationIndex 0 B/7,297 B 0%]
100% [15 Packages bzip2 0 B]
Get:50 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [8,333 B]
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
100% [15 Packages bzip2 0 B] [Waiting for headers]
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
100% [15 Packages bzip2 0 B] [Waiting for headers]
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
100% [15 Packages bzip2 0 B] [Waiting for headers]
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
100% [15 Packages bzip2 0 B] [Waiting for headers]
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
100% [15 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
100% [15 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
100% [15 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
100% [15 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise/universe Translation-en
100% [15 Packages bzip2 0 B] [Waiting for headers]
Get:51 http://us.archive.ubuntu.com precise-updates/main Translation-en [377 kB]
94% [15 Packages bzip2 0 B] [51 Translation-en 32.8 kB/377 kB 9%]
95% [51 Translation-en 124 kB/377 kB 33%]
95% [31 Packages bzip2 0 B] [51 Translation-en 124 kB/377 kB 33%]
96% [51 Translation-en 166 kB/377 kB 44%]
96% [30 Packages bzip2 0 B] [51 Translation-en 166 kB/377 kB 44%]
100% [30 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
100% [30 Packages bzip2 0 B] [Waiting for headers]
Get:52 http://us.archive.ubuntu.com precise-updates/universe Translation-en [146 kB]
98% [30 Packages bzip2 0 B] [52 Translation-en 21.8 kB/146 kB 15%]
100% [30 Packages bzip2 0 B]
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
100% [30 Packages bzip2 0 B] [Waiting for headers]
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
100% [30 Packages bzip2 0 B]
100% [Working]
100% [33 Packages bzip2 0 B]
100% [Working]
100% [34 Packages bzip2 0 B]
100% [Working]
100% [35 Packages bzip2 0 B]
100% [Working]
100% [40 Translation-en bzip2 0 B]
100% [Working]
100% [41 Translation-en bzip2 0 B]
100% [Working]
100% [32 Packages bzip2 0 B]
100% [Working]
100% [42 Packages bzip2 0 B]
100% [Working]
100% [43 Packages bzip2 0 B]
100% [43 Packages bzip2 0 B]
100% [Working]
100% [44 Packages bzip2 0 B]
100% [Working]
100% [45 Packages bzip2 0 B]
100% [Working]
100% [46 Packages bzip2 0 B]
100% [Working]
100% [51 Translation-en bzip2 0 B]
100% [Working]
100% [52 Translation-en bzip2 0 B]
100% [Working]
Fetched 5,565 kB in 5s (1,008 kB/s)
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 1%
Reading package lists... 6%
Reading package lists... 6%
Reading package lists... 6%
Reading package lists... 6%
Reading package lists... 8%
Reading package lists... 17%
Reading package lists... 25%
Reading package lists... 27%
Reading package lists... 27%
Reading package lists... 27%
Reading package lists... 27%
Reading package lists... 31%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 42%
Reading package lists... 54%
Reading package lists... 54%
Reading package lists... 54%
Reading package lists... 55%
Reading package lists... 55%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 65%
Reading package lists... 70%
Reading package lists... 70%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 87%
Reading package lists... 88%
Reading package lists... 88%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 91%
Reading package lists... 91%
Reading package lists... 91%
Reading package lists... 91%
Reading package lists... 94%
Reading package lists... 94%
Reading package lists... 94%
Reading package lists... 94%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 98%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
travis_time:end:0be91e97:start=1421159993483607125,finish=1421160014655866319,duration=21172259194
travis_fold:end:before_install
travis_fold:start:install
travis_time:start:1f2e9730
$ if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install xclip gdb; fi
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
The following package was automatically installed and is no longer required:
libgeos-3.2.2
Use 'apt-get autoremove' to remove them.
Suggested packages:
gdb-doc gdbserver
The following NEW packages will be installed:
gdb xclip
0 upgraded, 2 newly installed, 0 to remove and 136 not upgraded.
Need to get 2,328 kB of archives.
After this operation, 6,788 kB of additional disk space will be used.
0% [Working]
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main gdb amd64 7.4-2012.04-0ubuntu2.1 [2,308 kB]
1% [1 gdb 14.0 kB/2,308 kB 1%]
69% [1 gdb 1,613 kB/2,308 kB 70%]
99% [Waiting for headers]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe xclip amd64 0.12-1 [20.6 kB]
100% [2 xclip 12.0 kB/20.6 kB 58%]
100% [Working]
Fetched 2,328 kB in 0s (3,472 kB/s)
Selecting previously unselected package gdb.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75333 files and directories currently installed.)
Unpacking gdb (from .../gdb_7.4-2012.04-0ubuntu2.1_amd64.deb) ...
Selecting previously unselected package xclip.
Unpacking xclip (from .../xclip_0.12-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up gdb (7.4-2012.04-0ubuntu2.1) ...
Setting up xclip (0.12-1) ...
travis_time:end:1f2e9730:start=1421160014671932225,finish=1421160020438392827,duration=5766460602
travis_fold:end:install
travis_fold:start:before_script
travis_time:start:0b717580
$ if [ $TRAVIS_OS_NAME = linux ]; then sudo groupadd chown_test; sudo usermod -a -G chown_test $USER; export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; elif [ $TRAVIS_OS_NAME = osx ]; then sudo dscl . -create /Groups/chown_test; sudo dscl . -append /Groups/chown_test GroupMembership $USER; fi
Starting virtual X frame buffer: Xvfb.
travis_time:end:0b717580:start=1421160020450628127,finish=1421160020552167520,duration=101539393
travis_fold:end:before_script
travis_time:start:101598fd
$ sudo -E su $USER -c "sh -e \"$CI_SCRIPTS/$CI_TARGET.sh\""
Downloading/unpacking cpp-coveralls
Downloading cpp-coveralls-0.3.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/cpp-coveralls/setup.py) egg_info for package cpp-coveralls
Downloading/unpacking requests (from cpp-coveralls)
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB):
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 0% 4.1kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 1% 8.2kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 2% 12kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 3% 16kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 4% 20kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 5% 24kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 6% 28kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 7% 32kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 7% 36kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 8% 40kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 9% 45kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 10% 49kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 11% 53kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 12% 57kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 13% 61kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 14% 65kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 14% 69kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 15% 73kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 16% 77kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 17% 81kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 18% 86kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 19% 90kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 20% 94kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 21% 98kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 22% 102kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 22% 106kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 23% 110kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 24% 114kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 25% 118kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 26% 122kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 27% 126kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 28% 131kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 29% 135kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 29% 139kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 30% 143kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 31% 147kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 32% 151kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 33% 155kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 34% 159kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 35% 163kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 36% 167kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 37% 172kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 37% 176kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 38% 180kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 39% 184kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 40% 188kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 41% 192kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 42% 196kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 43% 200kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 44% 204kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 44% 208kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 45% 212kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 46% 217kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 47% 221kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 48% 225kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 49% 229kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 50% 233kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 51% 237kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 52% 241kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 52% 245kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 53% 249kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 54% 253kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 55% 258kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 56% 262kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 57% 266kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 58% 270kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 59% 274kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 59% 278kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 60% 282kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 61% 286kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 62% 290kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 63% 294kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 64% 299kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 65% 303kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 66% 307kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 67% 311kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 67% 315kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 68% 319kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 69% 323kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 70% 327kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 71% 331kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 72% 335kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 73% 339kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 74% 344kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 74% 348kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 75% 352kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 76% 356kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 77% 360kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 78% 364kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 79% 368kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 80% 372kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 81% 376kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 82% 380kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 82% 385kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 83% 389kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 84% 393kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 85% 397kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 86% 401kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 87% 405kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 88% 409kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 89% 413kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 89% 417kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 90% 421kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 91% 425kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 92% 430kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 93% 434kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 94% 438kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 95% 442kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 96% 446kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 97% 450kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 97% 454kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 98% 458kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 99% 462kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 100% 464kB
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB):
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 464kB downloaded
Installing collected packages: cpp-coveralls, requests
Running setup.py install for cpp-coveralls
Installing cpp-coveralls script to /usr/local/bin
Installing coveralls script to /usr/local/bin
Successfully installed cpp-coveralls requests
Cleaning up...
Downloading clang 3.4.2...
Setting up prebuilt dependencies from neovim/deps:master.
Cloning into '/opt/neovim-deps'...
remote: Counting objects: 827, done.
remote: Compressing objects: 0% (1/686) 
remote: Compressing objects: 1% (7/686) 
remote: Compressing objects: 2% (14/686) 
remote: Compressing objects: 3% (21/686) 
remote: Compressing objects: 4% (28/686) 
remote: Compressing objects: 5% (35/686) 
remote: Compressing objects: 6% (42/686) 
remote: Compressing objects: 7% (49/686) 
remote: Compressing objects: 8% (55/686) 
remote: Compressing objects: 9% (62/686) 
remote: Compressing objects: 10% (69/686) 
remote: Compressing objects: 11% (76/686) 
remote: Compressing objects: 12% (83/686) 
remote: Compressing objects: 13% (90/686) 
remote: Compressing objects: 14% (97/686) 
remote: Compressing objects: 15% (103/686) 
remote: Compressing objects: 16% (110/686) 
remote: Compressing objects: 17% (117/686) 
remote: Compressing objects: 18% (124/686) 
remote: Compressing objects: 19% (131/686) 
remote: Compressing objects: 20% (138/686) 
remote: Compressing objects: 21% (145/686) 
remote: Compressing objects: 22% (151/686) 
remote: Compressing objects: 23% (158/686) 
remote: Compressing objects: 24% (165/686) 
remote: Compressing objects: 25% (172/686) 
remote: Compressing objects: 26% (179/686) 
remote: Compressing objects: 27% (186/686) 
remote: Compressing objects: 28% (193/686) 
remote: Compressing objects: 29% (199/686) 
remote: Compressing objects: 30% (206/686) 
remote: Compressing objects: 31% (213/686) 
remote: Compressing objects: 32% (220/686) 
remote: Compressing objects: 33% (227/686) 
remote: Compressing objects: 34% (234/686) 
remote: Compressing objects: 35% (241/686) 
remote: Compressing objects: 36% (247/686) 
remote: Compressing objects: 37% (254/686) 
remote: Compressing objects: 38% (261/686) 
remote: Compressing objects: 39% (268/686) 
remote: Compressing objects: 40% (275/686) 
remote: Compressing objects: 41% (282/686) 
remote: Compressing objects: 42% (289/686) 
remote: Compressing objects: 43% (295/686) 
remote: Compressing objects: 44% (302/686) 
remote: Compressing objects: 45% (309/686) 
remote: Compressing objects: 46% (316/686) 
remote: Compressing objects: 47% (323/686) 
remote: Compressing objects: 48% (330/686) 
remote: Compressing objects: 49% (337/686) 
remote: Compressing objects: 50% (343/686) 
remote: Compressing objects: 51% (350/686) 
remote: Compressing objects: 52% (357/686) 
remote: Compressing objects: 53% (364/686) 
remote: Compressing objects: 54% (371/686) 
remote: Compressing objects: 55% (378/686) 
remote: Compressing objects: 56% (385/686) 
remote: Compressing objects: 57% (392/686) 
remote: Compressing objects: 58% (398/686) 
remote: Compressing objects: 59% (405/686) 
remote: Compressing objects: 60% (412/686) 
remote: Compressing objects: 61% (419/686) 
remote: Compressing objects: 62% (426/686) 
remote: Compressing objects: 63% (433/686) 
remote: Compressing objects: 64% (440/686) 
remote: Compressing objects: 65% (446/686) 
remote: Compressing objects: 66% (453/686) 
remote: Compressing objects: 67% (460/686) 
remote: Compressing objects: 68% (467/686) 
remote: Compressing objects: 69% (474/686) 
remote: Compressing objects: 70% (481/686) 
remote: Compressing objects: 71% (488/686) 
remote: Compressing objects: 72% (494/686) 
remote: Compressing objects: 73% (501/686) 
remote: Compressing objects: 74% (508/686) 
remote: Compressing objects: 75% (515/686) 
remote: Compressing objects: 76% (522/686) 
remote: Compressing objects: 77% (529/686) 
remote: Compressing objects: 78% (536/686) 
remote: Compressing objects: 79% (542/686) 
remote: Compressing objects: 80% (549/686) 
remote: Compressing objects: 81% (556/686) 
remote: Compressing objects: 82% (563/686) 
remote: Compressing objects: 83% (570/686) 
remote: Compressing objects: 84% (577/686) 
remote: Compressing objects: 85% (584/686) 
remote: Compressing objects: 86% (590/686) 
remote: Compressing objects: 87% (597/686) 
remote: Compressing objects: 88% (604/686) 
remote: Compressing objects: 89% (611/686) 
remote: Compressing objects: 90% (618/686) 
remote: Compressing objects: 91% (625/686) 
remote: Compressing objects: 92% (632/686) 
remote: Compressing objects: 93% (638/686) 
remote: Compressing objects: 94% (645/686) 
remote: Compressing objects: 95% (652/686) 
remote: Compressing objects: 96% (659/686) 
remote: Compressing objects: 97% (666/686) 
remote: Compressing objects: 98% (673/686) 
remote: Compressing objects: 99% (680/686) 
remote: Compressing objects: 100% (686/686) 
remote: Compressing objects: 100% (686/686), done.
Receiving objects: 0% (1/827)
Receiving objects: 1% (9/827)
Receiving objects: 2% (17/827)
Receiving objects: 3% (25/827)
Receiving objects: 4% (34/827)
Receiving objects: 5% (42/827)
Receiving objects: 6% (50/827)
Receiving objects: 7% (58/827)
Receiving objects: 8% (67/827)
Receiving objects: 9% (75/827)
Receiving objects: 10% (83/827)
Receiving objects: 11% (91/827)
Receiving objects: 12% (100/827)
Receiving objects: 13% (108/827)
Receiving objects: 14% (116/827)
Receiving objects: 15% (125/827)
Receiving objects: 16% (133/827)
Receiving objects: 17% (141/827)
Receiving objects: 18% (149/827)
Receiving objects: 19% (158/827)
Receiving objects: 20% (166/827)
Receiving objects: 21% (174/827)
Receiving objects: 22% (182/827)
Receiving objects: 23% (191/827)
Receiving objects: 24% (199/827)
Receiving objects: 25% (207/827)
Receiving objects: 26% (216/827)
Receiving objects: 27% (224/827)
Receiving objects: 28% (232/827)
Receiving objects: 29% (240/827)
Receiving objects: 30% (249/827)
Receiving objects: 31% (257/827)
Receiving objects: 32% (265/827)
Receiving objects: 33% (273/827)
Receiving objects: 34% (282/827)
Receiving objects: 35% (290/827)
Receiving objects: 36% (298/827)
Receiving objects: 37% (306/827)
Receiving objects: 38% (315/827)
Receiving objects: 39% (323/827)
Receiving objects: 40% (331/827)
Receiving objects: 41% (340/827)
Receiving objects: 42% (348/827)
Receiving objects: 43% (356/827)
Receiving objects: 44% (364/827)
Receiving objects: 45% (373/827)
Receiving objects: 46% (381/827)
Receiving objects: 47% (389/827)
Receiving objects: 48% (397/827)
Receiving objects: 49% (406/827)
Receiving objects: 50% (414/827)
Receiving objects: 51% (422/827)
Receiving objects: 52% (431/827)
Receiving objects: 53% (439/827)
Receiving objects: 54% (447/827)
Receiving objects: 55% (455/827)
Receiving objects: 56% (464/827)
Receiving objects: 57% (472/827)
Receiving objects: 58% (480/827)
Receiving objects: 59% (488/827)
Receiving objects: 60% (497/827)
Receiving objects: 61% (505/827)
Receiving objects: 62% (513/827)
Receiving objects: 63% (522/827)
Receiving objects: 64% (530/827)
Receiving objects: 65% (538/827)
Receiving objects: 66% (546/827)
Receiving objects: 67% (555/827)
Receiving objects: 68% (563/827)
Receiving objects: 69% (571/827)
Receiving objects: 70% (579/827)
Receiving objects: 71% (588/827)
Receiving objects: 72% (596/827)
Receiving objects: 73% (604/827)
Receiving objects: 74% (612/827)
Receiving objects: 75% (621/827)
Receiving objects: 76% (629/827)
Receiving objects: 77% (637/827)
Receiving objects: 78% (646/827)
Receiving objects: 79% (654/827)
Receiving objects: 80% (662/827)
Receiving objects: 81% (670/827)
Receiving objects: 82% (679/827)
Receiving objects: 83% (687/827)
Receiving objects: 84% (695/827)
Receiving objects: 85% (703/827)
Receiving objects: 86% (712/827)
Receiving objects: 87% (720/827)
Receiving objects: 88% (728/827)
Receiving objects: 89% (737/827)
Receiving objects: 90% (745/827)
Receiving objects: 91% (753/827)
Receiving objects: 92% (761/827)
Receiving objects: 93% (770/827)
Receiving objects: 94% (778/827)
Receiving objects: 95% (786/827)
remote: Total 827 (delta 177), reused 412 (delta 79)
Receiving objects: 96% (794/827)
Receiving objects: 97% (803/827)
Receiving objects: 98% (811/827)
Receiving objects: 99% (819/827)
Receiving objects: 100% (827/827)
Receiving objects: 100% (827/827), 3.95 MiB | 0 bytes/s, done.
Resolving deltas: 0% (0/177)
Resolving deltas: 1% (2/177)
Resolving deltas: 5% (9/177)
Resolving deltas: 6% (11/177)
Resolving deltas: 7% (13/177)
Resolving deltas: 9% (16/177)
Resolving deltas: 14% (26/177)
Resolving deltas: 15% (27/177)
Resolving deltas: 17% (31/177)
Resolving deltas: 18% (32/177)
Resolving deltas: 19% (34/177)
Resolving deltas: 20% (36/177)
Resolving deltas: 22% (39/177)
Resolving deltas: 23% (41/177)
Resolving deltas: 24% (43/177)
Resolving deltas: 27% (48/177)
Resolving deltas: 31% (55/177)
Resolving deltas: 33% (59/177)
Resolving deltas: 35% (63/177)
Resolving deltas: 36% (64/177)
Resolving deltas: 37% (66/177)
Resolving deltas: 38% (68/177)
Resolving deltas: 40% (71/177)
Resolving deltas: 41% (74/177)
Resolving deltas: 42% (76/177)
Resolving deltas: 44% (78/177)
Resolving deltas: 45% (81/177)
Resolving deltas: 46% (82/177)
Resolving deltas: 48% (85/177)
Resolving deltas: 49% (88/177)
Resolving deltas: 50% (89/177)
Resolving deltas: 51% (91/177)
Resolving deltas: 52% (93/177)
Resolving deltas: 53% (94/177)
Resolving deltas: 54% (96/177)
Resolving deltas: 55% (98/177)
Resolving deltas: 56% (100/177)
Resolving deltas: 57% (101/177)
Resolving deltas: 58% (103/177)
Resolving deltas: 59% (105/177)
Resolving deltas: 60% (107/177)
Resolving deltas: 61% (108/177)
Resolving deltas: 62% (110/177)
Resolving deltas: 63% (112/177)
Resolving deltas: 64% (114/177)
Resolving deltas: 65% (116/177)
Resolving deltas: 66% (118/177)
Resolving deltas: 67% (120/177)
Resolving deltas: 68% (121/177)
Resolving deltas: 69% (123/177)
Resolving deltas: 71% (127/177)
Resolving deltas: 73% (130/177)
Resolving deltas: 75% (133/177)
Resolving deltas: 76% (135/177)
Resolving deltas: 77% (138/177)
Resolving deltas: 79% (141/177)
Resolving deltas: 80% (142/177)
Resolving deltas: 81% (145/177)
Resolving deltas: 83% (147/177)
Resolving deltas: 84% (149/177)
Resolving deltas: 85% (151/177)
Resolving deltas: 86% (153/177)
Resolving deltas: 88% (157/177)
Resolving deltas: 89% (159/177)
Resolving deltas: 90% (160/177)
Resolving deltas: 91% (162/177)
Resolving deltas: 92% (164/177)
Resolving deltas: 93% (165/177)
Resolving deltas: 96% (171/177)
Resolving deltas: 97% (172/177)
Resolving deltas: 98% (174/177)
Resolving deltas: 99% (176/177)
Resolving deltas: 100% (177/177)
Resolving deltas: 100% (177/177), done.
Checking connectivity... done.
$NVIM_DEPS_PREFIX: "/opt/neovim-deps/linux-x64/usr"
$LUA_PATH: "/opt/neovim-deps/linux-x64/usr/share/lua/5.1/?.lua;/opt/neovim-deps/linux-x64/usr/share/lua/5.1/?/init.lua;./?.lua;/opt/neovim-deps/linux-x64/usr/share/luajit-2.0.3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua"
$LUA_CPATH: "/opt/neovim-deps/linux-x64/usr/lib/lua/5.1/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so"
$PKG_CONFIG_PATH: "/opt/neovim-deps/linux-x64/usr/lib/pkgconfig"
$USE_BUNDLED_DEPS: "OFF"
$PATH: "/opt/neovim-deps/linux-x64/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
mkdir -p build
touch build/.ran-third-party-cmake
cd build && cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DTRAVIS_CI_BUILD=ON -DUSE_GCOV=ON -DBUSTED_OUTPUT_TYPE=plainTerminal -DSANITIZE=ON ..
-- The C compiler identification is Clang
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/clang-3.4.2/bin/clang
-- Check for working C compiler: /usr/local/clang-3.4.2/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test _FORTIFY_SOURCE_ACCEPTABLE
-- Performing Test _FORTIFY_SOURCE_ACCEPTABLE - Success
-- Travis CI build enabled.
-- Enabling gcov support
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for kstat_lookup in kstat
-- Looking for kstat_lookup in kstat - not found
-- Looking for kvm_open in kvm
-- Looking for kvm_open in kvm - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for perfstat_cpu in perfstat
-- Looking for perfstat_cpu in perfstat - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for sendfile in sendfile
-- Looking for sendfile in sendfile - not found
-- Found LibUV: /opt/neovim-deps/linux-x64/usr/lib/libuv.a
-- Found Msgpack: /opt/neovim-deps/linux-x64/usr/lib/libmsgpack.a
-- Found LuaJit: /opt/neovim-deps/linux-x64/usr/lib/libluajit-5.1.a
-- Performing Test HAVE_WORKING_LIBINTL
-- Performing Test HAVE_WORKING_LIBINTL - Success
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - found
-- Found Iconv
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking Lua interpreter /opt/neovim-deps/linux-x64/usr/bin/luajit
-- Using the Lua interpreter /opt/neovim-deps/linux-x64/usr/bin/luajit
-- Looking for tgetent in curses
-- Looking for tgetent in curses - found
-- Enabling Clang sanitizers for nvim
-- Found Gettext: /usr/bin/msgmerge
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of void *
-- Check size of void * - done
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found.
-- Looking for include files HAVE_DIRENT_H
-- Looking for include files HAVE_DIRENT_H - found
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Looking for include files HAVE_ICONV_H
-- Looking for include files HAVE_ICONV_H - found
-- Looking for include files HAVE_LANGINFO_H
-- Looking for include files HAVE_LANGINFO_H - found
-- Looking for include files HAVE_LIBGEN_H
-- Looking for include files HAVE_LIBGEN_H - found
-- Looking for include files HAVE_LOCALE_H
-- Looking for include files HAVE_LOCALE_H - found
-- Looking for include files HAVE_PWD_H
-- Looking for include files HAVE_PWD_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_STROPTS_H
-- Looking for include files HAVE_STROPTS_H - found
-- Looking for include files HAVE_SYS_IOCTL_H
-- Looking for include files HAVE_SYS_IOCTL_H - found
-- Looking for include files HAVE_SYS_PARAM_H
-- Looking for include files HAVE_SYS_PARAM_H - found
-- Looking for include files HAVE_SYS_TIME_H
-- Looking for include files HAVE_SYS_TIME_H - found
-- Looking for include files HAVE_SYS_WAIT_H
-- Looking for include files HAVE_SYS_WAIT_H - found
-- Looking for include files HAVE_SYS_UTSNAME_H
-- Looking for include files HAVE_SYS_UTSNAME_H - found
-- Looking for include files HAVE_UTIME_H
-- Looking for include files HAVE_UTIME_H - found
-- Looking for include files HAVE_TERMCAP_H
-- Looking for include files HAVE_TERMCAP_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_TERMIO_H
-- Looking for include files HAVE_TERMIO_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for getpwent
-- Looking for getpwent - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for putenv
-- Looking for putenv - found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for setpgid
-- Looking for setpgid - found
-- Looking for setsid
-- Looking for setsid - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigvec
-- Looking for sigvec - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for utime
-- Looking for utime - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for FD_CLOEXEC
-- Looking for FD_CLOEXEC - found
-- Looking for CODESET
-- Looking for CODESET - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/travis/build/neovim/neovim/build
touch build/.ran-cmake
make -C build
make[1]: Entering directory `/home/travis/build/neovim/neovim/build'
make[2]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
Scanning dependencies of target sjiscorr
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
[ 0%] [ 0%] Building C object src/nvim/po/CMakeFiles/sjiscorr.dir/sjiscorr.c.o
Generating ../../include/ex_cmds_enum.generated.h, auto/ex_cmds_defs.generated.h
[ 3%] Generating auto/indent.c.generated.h, ../../include/indent.h.generated.h
Linking C executable ../../../bin/sjiscorr
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 3%] Built target sjiscorr
[ 3%] Generating auto/mouse.c.generated.h, ../../include/mouse.h.generated.h
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
Scanning dependencies of target translations
[ 3%] make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
Generating auto/ex_docmd.c.generated.h, ../../include/ex_docmd.h.generated.h
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
[ 3%] Generating nvim.pot
[ 3%] Generating auto/syntax.c.generated.h, ../../include/syntax.h.generated.h
[ 3%] Generating auto/option.c.generated.h, ../../include/option.h.generated.h
[ 3%] Generating auto/ui.c.generated.h, ../../include/ui.h.generated.h
[ 3%] Generating auto/normal.c.generated.h, ../../include/normal.h.generated.h
[ 3%] Generating ja.euc-jp.mo
[ 6%] Generating auto/tag.c.generated.h, ../../include/tag.h.generated.h
[ 9%] Generating cs.cp1250.mo
[ 9%] Generating pl.cp1250.mo
[ 9%] [ 9%] Generating pl.UTF-8.mo
Generating auto/arabic.c.generated.h, ../../include/arabic.h.generated.h
[ 9%] Generating sk.cp1250.mo
[ 9%] Generating ru.cp1251.mo
[ 9%] Generating auto/strings.c.generated.h, ../../include/strings.h.generated.h
[ 9%] Generating uk.cp1251.mo
[ 12%] Generating ko.mo
[ 12%] Generating auto/window.c.generated.h, ../../include/window.h.generated.h
[ 12%] Generating zh_CN.cp936.mo
[ 12%] [ 12%] Generating nb.mo
Generating auto/diff.c.generated.h, ../../include/diff.h.generated.h
[ 12%] Generating ja.sjis.mo
[ 12%] Generating af.mo
[ 12%] Generating auto/memory.c.generated.h, ../../include/memory.h.generated.h
[ 12%] Generating ca.mo
[ 12%] Generating cs.mo
[ 15%] Generating auto/edit.c.generated.h, ../../include/edit.h.generated.h
[ 18%] Generating de.mo
[ 18%] Generating en_GB.mo
[ 18%] Generating auto/digraph.c.generated.h, ../../include/digraph.h.generated.h
[ 18%] Generating eo.mo
[ 18%] Generating es.mo
[ 18%] Generating auto/undo.c.generated.h, ../../include/undo.h.generated.h
[ 18%] Generating fi.mo
[ 18%] Generating fr.mo
[ 18%] Generating auto/menu.c.generated.h, ../../include/menu.h.generated.h
[ 18%] Generating ga.mo
[ 21%] Generating it.mo
[ 21%] Generating auto/memfile.c.generated.h, ../../include/memfile.h.generated.h
[ 21%] Generating ja.mo
[ 21%] [ 21%] Generating ko.UTF-8.mo
Generating auto/screen.c.generated.h, ../../include/screen.h.generated.h
[ 21%] Generating nl.mo
[ 21%] Generating no.mo
[ 21%] Generating auto/eval.c.generated.h, ../../include/eval.h.generated.h
[ 21%] Generating pl.mo
[ 21%] Generating pt_BR.mo
[ 24%] Generating ru.mo
[ 24%] Generating sk.mo
[ 24%] Generating sv.mo
[ 27%] Generating auto/ex_getln.c.generated.h, ../../include/ex_getln.h.generated.h
[ 27%] Generating uk.mo
[ 27%] Generating vi.mo
[ 27%] [ 27%] Generating auto/spell.c.generated.h, ../../include/spell.h.generated.h
Generating zh_CN.mo
[ 30%] Generating zh_CN.UTF-8.mo
[ 30%] Generating zh_TW.mo
[ 30%] [ 30%] Generating zh_TW.UTF-8.mo
Generating auto/fileio.c.generated.h, ../../include/fileio.h.generated.h
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 30%] Built target translations
[ 30%] Generating auto/mark.c.generated.h, ../../include/mark.h.generated.h
[ 30%] Generating auto/ops.c.generated.h, ../../include/ops.h.generated.h
[ 30%] Generating auto/os_unix.c.generated.h, ../../include/os_unix.h.generated.h
[ 30%] Generating auto/farsi.c.generated.h, ../../include/farsi.h.generated.h
[ 33%] Generating auto/term.c.generated.h, ../../include/term.h.generated.h
[ 33%] Generating auto/popupmnu.c.generated.h, ../../include/popupmnu.h.generated.h
[ 33%] Generating auto/search.c.generated.h, ../../include/search.h.generated.h
[ 33%] Generating auto/cursor.c.generated.h, ../../include/cursor.h.generated.h
[ 33%] Generating auto/main.c.generated.h, ../../include/main.h.generated.h
[ 33%] Generating auto/getchar.c.generated.h, ../../include/getchar.h.generated.h
[ 36%] [ 36%] Generating auto/hardcopy.c.generated.h, ../../include/hardcopy.h.generated.h
Generating auto/map.c.generated.h, ../../include/map.h.generated.h
[ 36%] [ 36%] Generating auto/misc2.c.generated.h, ../../include/misc2.h.generated.h
Generating auto/fold.c.generated.h, ../../include/fold.h.generated.h
[ 36%] Generating auto/keymap.c.generated.h, ../../include/keymap.h.generated.h
[ 36%] Generating auto/misc1.c.generated.h, ../../include/misc1.h.generated.h
[ 36%] Generating auto/memline.c.generated.h, ../../include/memline.h.generated.h
[ 39%] Generating auto/tempfile.c.generated.h, ../../include/tempfile.h.generated.h
[ 39%] Generating auto/ex_cmds2.c.generated.h, ../../include/ex_cmds2.h.generated.h
[ 39%] Generating auto/regexp.c.generated.h, ../../include/regexp.h.generated.h
[ 39%] Generating auto/ex_eval.c.generated.h, ../../include/ex_eval.h.generated.h
[ 39%] Generating auto/log.c.generated.h, ../../include/log.h.generated.h
[ 39%] Generating auto/quickfix.c.generated.h, ../../include/quickfix.h.generated.h
[ 39%] Generating auto/if_cscope.c.generated.h, ../../include/if_cscope.h.generated.h
[ 42%] Generating auto/indent_c.c.generated.h, ../../include/indent_c.h.generated.h
[ 42%] Generating auto/buffer.c.generated.h, ../../include/buffer.h.generated.h
[ 42%] Generating auto/cursor_shape.c.generated.h, ../../include/cursor_shape.h.generated.h
[ 42%] Generating auto/hashtab.c.generated.h, ../../include/hashtab.h.generated.h
[ 42%] Generating auto/mbyte.c.generated.h, ../../include/mbyte.h.generated.h
[ 42%] Generating auto/version.c.generated.h, ../../include/version.h.generated.h
[ 42%] Generating auto/garray.c.generated.h, ../../include/garray.h.generated.h
[ 45%] Generating auto/message.c.generated.h, ../../include/message.h.generated.h
[ 45%] Generating auto/move.c.generated.h, ../../include/move.h.generated.h
[ 45%] Generating auto/path.c.generated.h, ../../include/path.h.generated.h
[ 45%] Generating auto/file_search.c.generated.h, ../../include/file_search.h.generated.h
[ 45%] Generating auto/sha256.c.generated.h, ../../include/sha256.h.generated.h
[ 45%] Generating auto/profile.c.generated.h, ../../include/profile.h.generated.h
[ 48%] Generating auto/ex_cmds.c.generated.h, ../../include/ex_cmds.h.generated.h
[ 48%] Generating auto/charset.c.generated.h, ../../include/charset.h.generated.h
[ 48%] Generating auto/os/event.c.generated.h, ../../include/os/event.h.generated.h
[ 48%] Generating auto/os/env.c.generated.h, ../../include/os/env.h.generated.h
[ 48%] Generating auto/os/job.c.generated.h, ../../include/os/job.h.generated.h
[ 48%] Generating auto/os/signal.c.generated.h, ../../include/os/signal.h.generated.h
[ 48%] Generating auto/os/users.c.generated.h, ../../include/os/users.h.generated.h
[ 51%] Generating auto/os/shell.c.generated.h, ../../include/os/shell.h.generated.h
[ 51%] Generating auto/os/time.c.generated.h, ../../include/os/time.h.generated.h
[ 51%] Generating auto/os/rstream.c.generated.h, ../../include/os/rstream.h.generated.h
[ 51%] Generating auto/os/input.c.generated.h, ../../include/os/input.h.generated.h
[ 51%] Generating auto/os/wstream.c.generated.h, ../../include/os/wstream.h.generated.h
[ 51%] Generating auto/os/fs.c.generated.h, ../../include/os/fs.h.generated.h
[ 51%] Generating auto/os/dl.c.generated.h, ../../include/os/dl.h.generated.h
[ 54%] Generating auto/os/mem.c.generated.h, ../../include/os/mem.h.generated.h
[ 54%] Generating auto/os/uv_helpers.c.generated.h, ../../include/os/uv_helpers.h.generated.h
[ 54%] Generating auto/api/window.c.generated.h, ../../include/api/window.h.generated.h
[ 54%] Generating auto/api/vim.c.generated.h, ../../include/api/vim.h.generated.h
[ 54%] Generating auto/api/tabpage.c.generated.h, ../../include/api/tabpage.h.generated.h
[ 54%] Generating auto/api/buffer.c.generated.h, ../../include/api/buffer.h.generated.h
[ 54%] Generating auto/api/private/helpers.c.generated.h, ../../include/api/private/helpers.h.generated.h
[ 57%] Generating auto/api/private/handle.c.generated.h, ../../include/api/private/handle.h.generated.h
[ 57%] Generating auto/msgpack_rpc/channel.c.generated.h, ../../include/msgpack_rpc/channel.h.generated.h
[ 57%] Generating auto/msgpack_rpc/server.c.generated.h, ../../include/msgpack_rpc/server.h.generated.h
[ 57%] Generating auto/msgpack_rpc/remote_ui.c.generated.h, ../../include/msgpack_rpc/remote_ui.h.generated.h
[ 57%] Generating auto/msgpack_rpc/helpers.c.generated.h, ../../include/msgpack_rpc/helpers.h.generated.h
[ 57%] [ 60%] Generating auto/regexp_nfa.c.generated.h, ../../include/regexp_nfa.h.generated.h
Generating auto/msgpack_dispatch.c
Scanning dependencies of target nvim
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
[ 60%] [ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/auto/msgpack_dispatch.c.o
Building C object src/nvim/CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o
[ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/indent.c.o
[ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/mouse.c.o
[ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_docmd.c.o
[ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/syntax.c.o
[ 63%] Building C object src/nvim/CMakeFiles/nvim.dir/option.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/ui.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/normal.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/tag.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/arabic.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/strings.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/window.c.o
[ 66%] Building C object src/nvim/CMakeFiles/nvim.dir/diff.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/memory.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/edit.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/digraph.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/undo.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/menu.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/memfile.c.o
[ 69%] Building C object src/nvim/CMakeFiles/nvim.dir/screen.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/eval.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/spell.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/fileio.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/mark.c.o
[ 72%] Building C object src/nvim/CMakeFiles/nvim.dir/ops.c.o
[ 75%] [ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/farsi.c.o
Building C object src/nvim/CMakeFiles/nvim.dir/os_unix.c.o
[ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/term.c.o
[ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/popupmnu.c.o
[ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/search.c.o
[ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/cursor.c.o
[ 75%] Building C object src/nvim/CMakeFiles/nvim.dir/main.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/getchar.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/hardcopy.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/map.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/misc2.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/fold.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/keymap.c.o
[ 78%] Building C object src/nvim/CMakeFiles/nvim.dir/misc1.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/memline.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/tempfile.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds2.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/regexp.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_eval.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/log.c.o
[ 81%] Building C object src/nvim/CMakeFiles/nvim.dir/quickfix.c.o
[ 84%] Building C object src/nvim/CMakeFiles/nvim.dir/if_cscope.c.o
[ 84%] Building C object src/nvim/CMakeFiles/nvim.dir/indent_c.c.o
[ 84%] Building C object src/nvim/CMakeFiles/nvim.dir/buffer.c.o
[ 84%] Building C object src/nvim/CMakeFiles/nvim.dir/cursor_shape.c.o
[ 84%] [ 84%] Building C object src/nvim/CMakeFiles/nvim.dir/hashtab.c.o
Building C object src/nvim/CMakeFiles/nvim.dir/mbyte.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/version.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/garray.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/message.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/move.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/path.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/file_search.c.o
[ 87%] Building C object src/nvim/CMakeFiles/nvim.dir/sha256.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/profile.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/charset.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/os/event.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/os/env.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/os/job.c.o
[ 90%] Building C object src/nvim/CMakeFiles/nvim.dir/os/signal.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/users.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/shell.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/time.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/rstream.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/input.c.o
[ 93%] Building C object src/nvim/CMakeFiles/nvim.dir/os/wstream.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/os/fs.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/os/dl.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/os/mem.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/os/uv_helpers.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/api/window.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/api/vim.c.o
[ 96%] Building C object src/nvim/CMakeFiles/nvim.dir/api/tabpage.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/api/buffer.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/helpers.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/handle.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/remote_ui.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o
Linking C executable ../../bin/nvim
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[100%] Built target nvim
make[2]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[1]: Leaving directory `/home/travis/build/neovim/neovim/build'
NVIM 0.0.0-alpha+201501130938 (compiled Jan 13 2015 14:42:03)
Commit: 9b4f6fbd33ebd452d472b0333accfcb34e01173b
Build type: Debug
Compilation: /usr/local/clang-3.4.2/bin/clang -DMIN_LOG_LEVEL=0 -Wconversion --coverage -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Werror -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/home/travis/build/neovim/neovim/build/config -I/home/travis/build/neovim/neovim/src -I/opt/neovim-deps/linux-x64/usr/include -I/opt/neovim-deps/linux-x64/usr/include/luajit-2.0 -I/usr/include -I/home/travis/build/neovim/neovim/build/src/nvim/auto -I/home/travis/build/neovim/neovim/build/include
Compiled by travis@testing-worker-linux-4-1-3230-linux-16-46858010
Features included (+) or not (-):
+acl +farsi -mouse_gpm -tag_any_white
+arabic +file_in_path +mouse_netterm +terminfo
+autocmd +find_in_path +mouse_sgr +termresponse
-browse +float -mouse_sysmouse +textobjects
+byte_offset +folding +mouse_urxvt +title
+cindent -footer +mouse_xterm -toolbar
-clipboard +fork() +multi_byte +user_commands
+cmdline_compl +gettext +multi_lang +vertsplit
+cmdline_hist +iconv +path_extra +virtualedit
+cmdline_info +insert_expand +persistent_undo +visual
+comments +jumplist +postscript +visualextra
+conceal +keymap +printer +viminfo
+cscope +langmap +profile +vreplace
+cursorbind +libcall +quickfix +wildignore
+cursorshape +linebreak +reltime +wildmenu
+dialog_con +lispindent +rightleft +windows
+diff +listcmds +scrollbind +writebackup
+digraphs +localmap +signs -X11
-dnd +menu +smartindent -xfontset
-ebcdic +mksession +startuptime -xsmp
-emacs_tags +modify_fname +statusline -xterm_clipboard
+eval +mouse +syntax
+ex_extra -mouseshape +tag_binary
+extra_search +mouse_dec +tag_old_static
system vimrc file: "$VIM/nvimrc"
user vimrc file: "$HOME/.nvimrc"
2nd user vimrc file: "~/.nvim/nvimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/nvim"
make -C build
make[1]: Entering directory `/home/travis/build/neovim/neovim/build'
make[2]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 0%] Built target sjiscorr
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 18%] Built target translations
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[100%] Built target nvim
make[2]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[1]: Leaving directory `/home/travis/build/neovim/neovim/build'
make -C build functionaltest
make[1]: Entering directory `/home/travis/build/neovim/neovim/build'
make[2]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[4]: Entering directory `/home/travis/build/neovim/neovim/build'
make[4]: Leaving directory `/home/travis/build/neovim/neovim/build'
[100%] Built target nvim
make[4]: Entering directory `/home/travis/build/neovim/neovim/build'
Scanning dependencies of target functionaltest
make[4]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[4]: Entering directory `/home/travis/build/neovim/neovim/build'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
183 successes / 0 failures / 0 errors / 0 pending : 0.0 seconds
make[4]: Leaving directory `/home/travis/build/neovim/neovim/build'
[100%] Built target functionaltest
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[2]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[1]: Leaving directory `/home/travis/build/neovim/neovim/build'
make -C build
make[1]: Entering directory `/home/travis/build/neovim/neovim/build'
make[2]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 0%] Built target sjiscorr
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[ 18%] Built target translations
make[3]: Entering directory `/home/travis/build/neovim/neovim/build'
make[3]: Leaving directory `/home/travis/build/neovim/neovim/build'
[100%] Built target nvim
make[2]: Leaving directory `/home/travis/build/neovim/neovim/build'
make[1]: Leaving directory `/home/travis/build/neovim/neovim/build'
export MAKEFLAGS= ; make -C src/nvim/testdir
make[1]: Entering directory `/home/travis/build/neovim/neovim/src/nvim/testdir'
rm -f test.log
echo 'set $_exitcode = -1\nrun\nif $_exitcode != -1\n quit\nend' > .gdbinit
rm -rf test1.failed test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok wrongtermsize
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test1.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test1.in" 57L, 2069C[>cFirst a simple test to check if the test script works.
If Vim was not compiled with the +eval feature, the small.vim script will be
set to copy the test.ok file to test.out, so that it looks like the test
succeeded. Otherwise an empty small.vim is written. small.vim is sourced by
tests that require the +eval feature or other features that are missing in the
small version.
If Vim was not compiled with the +windows feature, the tiny.vim script will be
set like small.vim above. tiny.vim is sourced by tests that require the
+windows feature or other features that are missing in the tiny version.
If Vim was not compiled with the +multi_byte feature, the mbyte.vim script will
be set like small.vim above. mbyte.vim is sourced by tests that require the
+multi_byte feature.
Similar logic is applied to the +mzscheme feature, using mzscheme.vim.
Similar logic is applied to the +lua feature, using lua.vim.
STARTTEST
:" If columns or lines are too small, create wrongtermsize.
:" (Some tests will fail. When columns and/or lines are small)
:if &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 35L, 1133C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:w! mzscheme.vim
:w! lua.vim
:"
:" If +multi_byte feature supported, make mbyte.vim empty.
:if has("multi_byte") | sp another | w! mbyte.vim | q | endif
:"
:" If +mzscheme feature supported, make mzscheme.vim empty.
:if has("mzscheme") | sp another | w! mzscheme.vim | q | endif
:"
:" If +lua feature supported, make lua.vim empty.
:if has("lua") | sp another | w! lua.vim | q | endif
:"
:" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
:" Otherwise write small.vim to skip the test.
:if 1 | q! | endif
:w! small.vim
:" If +windows feature not supported :sp will fail and tiny.vim will be
:" written to skip the test.
:sp another
:wq! tiny.vim
:qa!
ENDTEST[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" If columns or lines are too small, create wrongtermsize.
[?25l[?12l[?25h[?25l:[?12l[?25h" (Some tests will fail. When columns and/or lines are small)
[?25l[?12l[?25h[?25l:[?12l[?25hif &lines < 24 || &columns < 80 | sp another | w! wrongtermsize | qa! | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Write a single line to test.out to check if testing works at all.
[?25l[?12l[?25h[?25l:[?12l[?25h%d
[?25l~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --No lines in buffer--[?12l[?25h[?25l-- INSERT --this is a test[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 1L, 15C written[?12l[?25h[?25l:[?12l[?25h" Create small.vim and tiny.vim empty, create mbyte.vim to skip the test.
[?25l[?12l[?25h
[?25l[?12l[?25h[?25l:[?12l[?25hw! small.vim
[?25l"small.vim" [New] 1L, 1C written[?12l[?25h[?25l:[?12l[?25hw! tiny.vim
[?25l"tiny.vim" [New] 1L, 1C written[?12l[?25h[?25l-- INSERT --e! test.ok
w! test.outqa!:[?12l[?25h [?25l[?12l[?25h[?25l:w! mbyte.vim
"mbyte.vim" [New] 4L, 28C written[?12l[?25h[?25l:[?12l[?25hw! mzscheme.vim
[?25l"mzscheme.vim" [New] 4L, 28C written[?12l[?25h[?25l:[?12l[?25hw! lua.vim
[?25l"lua.vim" [New] 4L, 28C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +multi_byte feature supported, make mbyte.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("multi_byte") | sp another | w! mbyte.vim | q | endif
[?25l"another" [New File]mbyte.vim" 0L, 0C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +mzscheme feature supported, make mzscheme.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("mzscheme") | sp another | w! mzscheme.vim | q | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +lua feature supported, make lua.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25hif has("lua") | sp another | w! lua.vim | q | endif
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" If +eval feature supported quit here, leaving tiny.vim and small.vim empty.
[?25l[?12l[?25h[?25l:[?12l[?25h" Otherwise write small.vim to skip the test.
[?25l[?12l[?25h[?25l:[?12l[?25hif 1 | q! | endif
[?25l[?1l>[?12l[?25h[?1049lrm -rf X* viminfo
rm -rf test_eval.failed test.ok test.out X* viminfo
cp test_eval.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test_eval.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test_eval.in" 213L, 5332C[>cTest for various eval features. vim: set ft=vim :
Note: system clipboard support is not tested. I do not think anybody will thank
me for messing with clipboard.
STARTTEST
:so small.vim
:set encoding=latin1
:set noswapfile
:lang C
:fun AppendRegContents(reg)
call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:reg,, getregtype(a:reg), getreg(a:reg), string(getreg(a:reg, 0, 1)), getreg(a:reg, 1)), string(getreg(a:reg, 1, 1))))
endfun
:command -nargs=? AR :call AppendRegContents(<q-args>)
:fun SetReg(...)
call call('setreg', a:000)
call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))
call AppendRegContents(a:1)
if a:1 isnot# '='execute "silent normal! Go==\n==\e\"".a:1."P"
endif[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for various eval features. vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 201L, 5120C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
: $put =v:exception
:endtry
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST
012345678
012345678
start:[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=latin1
[?25l:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
: $put =v:exception
:endtry
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST
012345678
012345678
start:[?12l[?25h[?25l:[?12l[?25hset noswapfile
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25hfun AppendRegContents(reg)
[?25l
: [?12l[?25h call append('$', printf('%s: type %s; value: %s (%s), expr: %s (%s)', a:
reg, getregtype(a:reg), getreg(a:reg), string(getreg(a:reg, 0, 1)), getreg(a:reg
, 1), string(getreg(a:reg, 1, 1))))
[?25l: [?12l[?25hendfun
[?25l:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')[?12l[?25h[?25l:[?12l[?25hcommand -nargs=? AR :call AppendRegContents(<q-args>)
[?25l[?12l[?25h[?25l:[?12l[?25hfun SetReg(...)
[?25l
: [?12l[?25h call call('setreg', a:000)
[?25l: [?12l[?25h call append('$', printf('{{{2 setreg(%s)', string(a:000)[1:-2]))
[?25l: [?12l[?25h call AppendRegContents(a:1)
[?25l: [?12l[?25h if a:1 isnot# '='
[?25l: [?12l[?25h execute "silent normal! Go==\n==\e\"".a:1."P"
[?25l: [?12l[?25h endif
[?25l: [?12l[?25hendfun
[?25l:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
: $put =v:exception
:endtry[?12l[?25h[?25l:[?12l[?25hfun ErrExe(str)
[?25l
: [?12l[?25h call append('$', 'Executing '.a:str)
[?25l: [?12l[?25h try
[?25l: [?12l[?25h execute a:str
[?25l: [?12l[?25h catch
[?25l: [?12l[?25h $put =v:exception
[?25l: [?12l[?25h endtry
[?25l: [?12l[?25hendfun
[?25l:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
: $put =v:exception
:endtry[?12l[?25h[?25l:[?12l[?25hfun Test()
[?25l
: [?12l[?25h$put ='{{{1 let tests'
[?25l: [?12l[?25hlet @" = 'abc'
[?25l: [?12l[?25hAR "
[?25l: [?12l[?25hlet @" = "abc\n"
[?25l: [?12l[?25hAR "
[?25l: [?12l[?25hlet @" = "abc\<C-m>"
[?25l: [?12l[?25hAR "
[?25l: [?12l[?25hlet @= = '"abc"'
[?25l: [?12l[?25hAR =
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Basic setreg tests'
[?25l: [?12l[?25hcall SetReg('a', 'abcA', 'c')
[?25l: [?12l[?25hcall SetReg('b', 'abcB', 'v')
[?25l: [?12l[?25hcall SetReg('c', 'abcC', 'l')
[?25l: [?12l[?25hcall SetReg('d', 'abcD', 'V')
[?25l: [?12l[?25hcall SetReg('e', 'abcE', 'b')
[?25l: [?12l[?25hcall SetReg('f', 'abcF', "\<C-v>")
[?25l: [?12l[?25hcall SetReg('g', 'abcG', 'b10')
[?25l: [?12l[?25hcall SetReg('h', 'abcH', "\<C-v>10")
[?25l: [?12l[?25hcall SetReg('I', 'abcI')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Appending single lines with setreg()'
[?25l: [?12l[?25hcall SetReg('A', 'abcAc', 'c')
[?25l: [?12l[?25hcall SetReg('A', 'abcAl', 'l')
[?25l: [?12l[?25hcall SetReg('A', 'abcAc2','c')
[?25l: [?12l[?25hcall SetReg('b', 'abcBc', 'ca')
[?25l: [?12l[?25hcall SetReg('b', 'abcBb', 'ba')
[?25l: [?12l[?25hcall SetReg('b', 'abcBc2','ca')
[?25l: [?12l[?25hcall SetReg('b', 'abcBb2','b50a')
[?25l: [?12l[?25h
[?25l: [?12l[?25hcall SetReg('C', 'abcCl', 'l')
[?25l: [?12l[?25hcall SetReg('C', 'abcCc', 'c')
[?25l: [?12l[?25hcall SetReg('D', 'abcDb', 'b')
[?25l: [?12l[?25h
[?25l: [?12l[?25hcall SetReg('E', 'abcEb', 'b')
[?25l: [?12l[?25hcall SetReg('E', 'abcEl', 'l')
[?25l: [?12l[?25hcall SetReg('F', 'abcFc', 'c')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Appending NL with setreg()'
[?25l: [?12l[?25hcall setreg('a', 'abcA2', 'c')
[?25l: [?12l[?25hcall setreg('b', 'abcB2', 'v')
[?25l: [?12l[?25hcall setreg('c', 'abcC2', 'l')
[?25l: [?12l[?25hcall setreg('d', 'abcD2', 'V')
[?25l: [?12l[?25hcall setreg('e', 'abcE2', 'b')
[?25l: [?12l[?25hcall setreg('f', 'abcF2', "\<C-v>")
[?25l: [?12l[?25hcall setreg('g', 'abcG2', 'b10')
[?25l: [?12l[?25hcall setreg('h', 'abcH2', "\<C-v>10")
[?25l: [?12l[?25hcall setreg('I', 'abcI2')
[?25l: [?12l[?25h
[?25l: [?12l[?25hcall SetReg('A', "\n")
[?25l: [?12l[?25hcall SetReg('B', "\n", 'c')
[?25l: [?12l[?25hcall SetReg('C', "\n")
[?25l: [?12l[?25hcall SetReg('D', "\n", 'l')
[?25l: [?12l[?25hcall SetReg('E', "\n")
[?25l: [?12l[?25hcall SetReg('F', "\n", 'b')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Setting lists with setreg()'
[?25l: [?12l[?25hcall SetReg('a', ['abcA3'], 'c')
[?25l: [?12l[?25hcall SetReg('b', ['abcB3'], 'l')
[?25l: [?12l[?25hcall SetReg('c', ['abcC3'], 'b')
[?25l: [?12l[?25hcall SetReg('d', ['abcD3'])
[?25l: [?12l[?25hcall SetReg('e', [1, 2, 'abc', 3])
[?25l: [?12l[?25hcall SetReg('f', [1, 2, 3])
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Appending lists with setreg()'
[?25l: [?12l[?25hcall SetReg('A', ['abcA3c'], 'c')
[?25l: [?12l[?25hcall SetReg('b', ['abcB3l'], 'la')
[?25l: [?12l[?25hcall SetReg('C', ['abcC3b'], 'lb')
[?25l: [?12l[?25hcall SetReg('D', ['abcD32'])
[?25l: [?12l[?25h
[?25l: [?12l[?25hcall SetReg('A', ['abcA32'])
[?25l: [?12l[?25hcall SetReg('B', ['abcB3c'], 'c')
[?25l: [?12l[?25hcall SetReg('C', ['abcC3l'], 'l')
[?25l: [?12l[?25hcall SetReg('D', ['abcD3b'], 'b')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Appending lists with NL with setreg()'
[?25l: [?12l[?25hcall SetReg('A', ["\n", 'abcA3l2'], 'l')
[?25l: [?12l[?25hcall SetReg('B', ["\n", 'abcB3c2'], 'c')
[?25l: [?12l[?25hcall SetReg('C', ["\n", 'abcC3b2'], 'b')
[?25l: [?12l[?25hcall SetReg('D', ["\n", 'abcD3b50'],'b50')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Setting lists with NLs with setreg()'
[?25l: [?12l[?25hcall SetReg('a', ['abcA4-0', "\n", "abcA4-2\n", "\nabcA4-3", "abcA4-4\nabcA4
-4-2"])
[?25l: [?12l[?25hcall SetReg('b', ['abcB4c-0', "\n", "abcB4c-2\n", "\nabcB4c-3", "abcB4c-4\na
bcB4c-4-2"], 'c')
[?25l: [?12l[?25hcall SetReg('c', ['abcC4l-0', "\n", "abcC4l-2\n", "\nabcC4l-3", "abcC4l-4\na
bcC4l-4-2"], 'l')
[?25l: [?12l[?25hcall SetReg('d', ['abcD4b-0', "\n", "abcD4b-2\n", "\nabcD4b-3", "abcD4b-4\na
bcD4b-4-2"], 'b')
[?25l: [?12l[?25hcall SetReg('e', ['abcE4b10-0', "\n", "abcE4b10-2\n", "\nabcE4b10-3", "abcE4
b10-4\nabcE4b10-4-2"], 'b10')
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Search and expressions'
[?25l: [?12l[?25hcall SetReg('/', ['abc/'])
[?25l: [?12l[?25hcall SetReg('/', ["abc/\n"])
[?25l: [?12l[?25hcall SetReg('=', ['"abc/"'])
[?25l: [?12l[?25hcall SetReg('=', ["\"abc/\n\""])
[?25l: [?12l[?25h
[?25l: [?12l[?25h$put ='{{{1 Errors'
[?25l: [?12l[?25hcall ErrExe('call setreg()')
[?25l: [?12l[?25hcall ErrExe('call setreg(1)')
[?25l: [?12l[?25hcall ErrExe('call setreg(1, 2, 3, 4)')
[?25l: [?12l[?25hcall ErrExe('call setreg([], 2)')
[?25l: [?12l[?25hcall ErrExe('call setreg(1, {})')
[?25l: [?12l[?25hcall ErrExe('call setreg(1, 2, [])')
[?25l: [?12l[?25hcall ErrExe('call setreg("/", ["1", "2"])')
[?25l: [?12l[?25hcall ErrExe('call setreg("=", ["1", "2"])')
[?25l: [?12l[?25hcall ErrExe('call setreg(1, ["", "", [], ""])')
[?25l: [?12l[?25hendfun
[?25l:" using $ instead of '$' must give an error
:try
: call append($, 'foobar')
:catch
: $put =v:exception
:endtry
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST
012345678
012345678
start:[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hcall Test()
[?25l{{{2 setreg('=', ['"abc/^@"'])
=: type v; value: abc/^@ (['abc/^@']), expr: "abc/^@" (['"abc/^@"'])
{{{1 Errors
Executing call setreg()Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1)
Vim(call):E119: Not enough arguments for function: setreg
Executing call setreg(1, 2, 3, 4)
Vim(call):E118: Too many arguments for function: setreg
Executing call setreg([], 2)
Vim(call):E730: using List as a String
Executing call setreg(1, {})
Vim(call):E731: using Dictionary as a String
Executing call setreg(1, 2, [])
Vim(call):E730: using List as a String
Executing call setreg("/", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore lines
Executing call setreg("=", ["1", "2"])
Vim(call):E883: search pattern and expression register may not contain two or moore linesExecuting call setreg(1, ["", "", [], ""])
Vim(call):E730: using List as a String
[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction SetReg
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction AppendRegContents
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction ErrExe
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunction Test
[?25l[?12l[?25h[?25l:[?12l[?25hdelcommand AR
[?25l[?12l[?25h[?25l:[?12l[?25hcall garbagecollect(1)
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h/^start:/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [converted][New] 337L, 10578C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test3.failed test.ok test.out X* viminfo
cp test3.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test3.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test3.in" 2070L, 21273C[>c/* vim: set cin ts=4 sw=4 : */
Test for 'cindent'
STARTTEST
:so small.vim
:set modeline
:edit" read modeline
/start of AUTO
=/end of AUTO
ENDTEST
/* start of AUTO matically checked vim: set ts=4 : */
{
if (test)cmd1;
cmd2;
}
{
if (test)cmd1;
else[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l/* vim: set cin ts=4 sw=4 : */[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 5L, 94C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset modeline
[?25l[?12l[?25h[?25l:[?12l[?25hedit " read modeline
[?25l"test3.in"2070L, 21273C[?12l[?25h[?25l/[?12l[?25hstart of AUTO
[?25l[?12l[?25h[?25l/[?12l[?25hend of AUTO
[?25l881 lines to indent...
8500
750
650
550
450
350
250
150
50 lines to indent...
882 lines indented [?12l[?25h[?25l/^STARTTEST
namespace test test2
{
1111111111111111111;
}
namespace111111111
{
111111111111111111;
}
/* end of AUTO */
STARTTEST
:set tw=0 wm=60 columns=80 noai fo=croq
/serious/e
a about life, the universe, and the rest^[
ENDTEST
{
/* this is
* a real serious important big
* comment
*/[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 93C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset tw=0 wm=60 columns=80 noai fo=croq
[?25lnamespace test test2
{
1111111111111111111;
}
namespace111111111
{
111111111111111111;
}
/* end of AUTO */
STARTTEST
:set tw=0 wm=60 columns=80 noai fo=croq
/serious/e
a about life, the universe, and the rest^[
ENDTEST
{
/* this is
* a real serious important big
* comment
*/[?12l[?25h[?25l/[?12l[?25hserious/e
[?25l[?12l[?25h[?25l
-- INSERT --
about life, the
* universe, and the
* rest important big[?12l[?25h[?25l
* comment[?12l[?25h[?25l
/^STARTTEST
*/
/* insert " about life, the universe, and the rest" after "serious" */
}
STARTTEST[?12l[?25h[?25l
:set nocin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 6L, 78C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/comments
joabout life^[/happens
jothere^[/below
oline^[/this
Ohello^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset nocin
[?25l[?12l[?25h[?25l/[?12l[?25hcomments
[?25l{
/** Testing for comments, without 'cin' set[?12l[?25h[?25l
*/[?12l[?25h[?25l
-- INSERT --
about life[?12l[?25h[?25l
/[?12l[?25hhappens
[?25l/*
* what happens here?[?12l[?25h[?25l
*/[?12l[?25h[?25l
-- INSERT --
there[?12l[?25h[?25l
/[?12l[?25hbelow
[?25l/*the end of the comment, try inserting a line below */[?12l[?25h[?25l
-- INSERT --
line[?12l[?25h[?25l
/[?12l[?25hthis
[?25l/* how aboutthis one */[?12l[?25h[?25l
-- INSERT --hello[?12l[?25h[?25l
this one */[?12l[?25h[?25l
/^STARTTEST
}
STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 18C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/vec2
==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l/[?12l[?25hvec2
[?25l{
var = this + that + vec[0] * vec[0]+ vec[1] * vec[1]+ vec2[2] * vec[2];[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 5L, 51C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=}4
/testing1
k2==/testing2
k2==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=}4
[?25l[?12l[?25h[?25l/[?12l[?25htesting1
[?25l{asdf asdflkajds f;
if (tes & ting) {asdf asdf asdf ;asdfa sdf asdf;}
testing1;[?12l[?25h [?25l
/[?12l[?25htesting2
[?25lif (tes & ting)
{asdf asdf asdf ;asdfa sdf asdf;}
testing2;[?12l[?25h [?25l
/^STARTTEST
}
STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=(0,)20
/main
=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=(0,)20
[?25l[?12l[?25h[?25l/[?12l[?25hmain
[?25lmain ( int first_par, /*[?12l[?25h[?25l
19 lines to indent...
20indented [?12l[?25h[?25l
* Comment for[?12l[?25h[?25l
/^STARTTEST
* Comment for* first par*/second_par /** Comment for* second par*/);
}
STARTTEST
:set cin
:set cino=es,n0s
/main
=][
ENDTEST
main(void)
{
/* Make sure that cino=X0s is not parsed like cino=Xs. */
if (cond)foo();[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 4L, 36C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=es,n0s
[?25l[?12l[?25h[?25l/[?12l[?25hmain
[?25l[?12l[?25h[?25l8 lines to indent...
9indented [?12l[?25h
[?25l/^STARTTEST
else
{bar();
}
}
STARTTEST[?12l[?25h[?25l
:set cin
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set cino=
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cin
[?25l[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l{[?12l[?25h[?25l
11 lines to indent...
12indented [?12l[?25h[?25l
do[?12l[?25h[?25l
/^STARTTEST
if (){if ()asdf;elseasdf;}
} while ();
cmd;/* this should go under the } */
}
STARTTEST
]]=][
ENDTEST
void f()
{
if ( k() ) {l();} else { /* Start (two words) end */m();
}[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 1L, 6C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h
[?25l8 lines to indent...
9indented [?12l[?25h
[?25l/^STARTTEST
n();
}
STARTTEST[?12l[?25h[?25l
:set cino={s,e-s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino={s,e-s
[?25l[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
7 lines to indent...
8indented  {[?12l[?25h[?25l
if ( k() )[?12l[?25h[?25l
/^STARTTEST
{l();} else { /* Start (two words) end */m();}
n(); /* should be under the if () */
}
STARTTEST[?12l[?25h[?25l
:set cino={s,fs
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 25C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=/ foo[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino={s,fs
[?25l[?12l[?25h[?25lvoid bar(void)
{[?12l[?25h[?25l
/[?12l[?25h foo
[?25l30 lines to indent...
31indented  {[?12l[?25h[?25l/^STARTTEST
void func(void)
{
a = 1;{b = 2;}
c = 3;
d = 4;
}
/* foo */
STARTTEST
:set cino=
/while
ohere^[
ENDTEST
a()
{
do {
a = a +a;
} while ( a );/* add text under this line */[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 25C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l/[?12l[?25hwhile
[?25l[?12l[?25h[?25l
-- INSERT --
here[?12l[?25h[?25l
if ( a )
i[?12l[?25h[?25l
/^STARTTEST
a;
}
STARTTEST[?12l[?25h[?25l
:set cino= com=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 109C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/comment
olabel2: b();^Mlabel3 /* post */:^M/* pre */ label4:^Mf(/*com*/);^Mif (/*com*/)^^Mcmd();^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino= com=
[?25l[?12l[?25h[?25l/[?12l[?25hcomment
[?25la()
{
label1:/* hmm */// comment[?12l[?25h[?25l
-- INSERT --label2: b();
label3 /* post */:
/* pre */ label4:f(/*com*/);if (/*com*/)cmd();[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set comments& comments^=s:/*,m:**,ex:*/
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 53C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/simple
=5j[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset comments& comments^=s:/*,m:**,ex:*/
[?25l[?12l[?25h[?25l/[?12l[?25hsimple
[?25l/*
* A simple comment[?12l[?25h[?25l
5 lines to indent...
6indented * A simple comment[?12l[?25h[?25l
*/[?12l[?25h[?25l
/^STARTTEST
/*
** A different comment
*/
STARTTEST[?12l[?25h[?25l
:set cino=c0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 70C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=c0
[?25l[?12l[?25h[?25l:[?12l[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST
/*********A comment.
*********/
}
STARTTEST[?12l[?25h[?25l
:set cino=c0,C1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 73C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1:set comments& comments-=s1:/* comments^=s0:/*
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=c0,C1
[?25l[?12l[?25h[?25l:[?12l[?25hset comments& comments-=s1:/* comments^=s0:/*
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
[?12l[?25h[?25l
/^STARTTEST
/*********
A comment.
*********/
}
STARTTEST[?12l[?25h[?25l
:set cino=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 17C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}
STARTTEST[?12l[?25h[?25l
:set cino=(s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}
STARTTEST[?12l[?25h[?25l
:set cino=(s,U1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s,U1
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
c = c1 &&[?12l[?25h[?25l
/^STARTTEST
(c2 ||c3) && c4;
}
STARTTEST[?12l[?25h[?25l
:set cino=(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if ( c1[?12l[?25h[?25l
/^STARTTEST
&& ( c2|| c3))foo;
}
STARTTEST[?12l[?25h[?25l
:set cino=(0,w1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,w1
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if ( c1[?12l[?25h[?25l
/^STARTTEST
&& ( c2|| c3))foo;
}
STARTTEST[?12l[?25h[?25l
:set cino=(s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
c = c1 && ([?12l[?25h[?25l
/^STARTTEST
c2 ||c3) && c4;
if (c1 && c2)foo;
}
STARTTEST[?12l[?25h[?25l
:set cino=(s,m1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 28C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(s,m1
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
c = c1 && ([?12l[?25h[?25l
/^STARTTEST
c2 ||c3
) && c4;
if (c1 && c2
)foo;
}
STARTTEST[?12l[?25h[?25l
:set cino=b1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=b1
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
9 lines to indent...
10 lines indented [?12l[?25h[?25l
switch (x)[?12l[?25h[?25l
/^STARTTEST
{case 1:a = b;break;default:a = 0;break;
}
}
STARTTEST[?12l[?25h[?25l
:set cino=(0,W5
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,W5
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
10 lines to indent...
11indented [?12l[?25h[?25l
invokeme([?12l[?25h[?25l
/^STARTTEST
argu,ment);
invokeme(argu,ment);
invokeme(argu,ment);
}
STARTTEST[?12l[?25h[?25l
:set cino=/6
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=/6
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
3 lines to indent...
4indented [?12l[?25h[?25l
statement;[?12l[?25h[?25l
/^STARTTEST
// comment 1// comment 2
}
STARTTEST[?12l[?25h[?25l
:set cino=
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 34C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-12kdd]]/comment 1/+1
==[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=
[?25l[?12l[?25h[?25l==ENDTEST[?12l[?25h[?25lvoid f()
{[?12l[?25h[?25l
/[?12l[?25hcomment 1/+1
[?25lstatement;// comment 1
// comment 2[?12l[?25h[?25l // comment 2[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cino=g0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=g0
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lclass CAbc
{[?12l[?25h[?25l
6 lines to indent...
7indented [?12l[?25h[?25l
int Test() { return FALSE; }[?12l[?25h[?25l
/^STARTTEST
public: // comment
void testfall();
protected:
void testfall();
};
STARTTEST[?12l[?25h[?25l
:set cino=(0,gs,hs
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 29C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,gs,hs
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lclass Foo : public Bar
{[?12l[?25h[?25l
5 lines to indent...
6indented [?12l[?25h[?25l
public:[?12l[?25h[?25l
/^STARTTEST
virtual void method1(void) = 0;virtual void method2(int arg1,int arg2,int arg3) = 0;
};
STARTTEST[?12l[?25h[?25l
:set cino=+20
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 24C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=+20
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25lvoid
foo()
{[?12l[?25h[?25l
4 lines to indent...
5indented [?12l[?25h[?25l
if (a)[?12l[?25h[?25l
/^STARTTEST
{
} elseasdf;
}
STARTTEST[?12l[?25h[?25l
:set cino=(0,W2s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd]]=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,W2s
[?25l[?12l[?25h[?25l2kdd]]=][ENDTEST[?12l[?25h[?25l
{[?12l[?25h[?25l
34 lines to indent...
35indented [?12l[?25h[?25l
averylongfunctionnamelongfunctionnameaverylongfunctionname()->asd([?12l[?25h[?25l
/^STARTTEST
dec)->asdfasdfasdf(asdfadsf,asdfasdf,asdfasdf,),func(asdfadf,asdfasdf),asdasdf);
}
STARTTEST
:set cino=M1
2kdd]]=][
ENDTEST
int main ()
{
if (cond1 &&cond2)foo;
}[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=M1
[?25l[?12l[?25h[?25l
[?12l[?25h[?25l4 lines to indent...
5indented [?12l[?25h
[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:set cino=(0,ts
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0,ts
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h
[?25l
7 lines to indent...
8indented [?12l[?25h[?25l
void func(int a[?12l[?25h[?25l
/^STARTTEST
#if defined(FOO), int b, int c
#endif)
{
}
STARTTEST[?12l[?25h[?25l
:set cino=(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 23C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=(0
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h
[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
void[?12l[?25h[?25l
/^STARTTEST
func(int a
#if defined(FOO), int b, int c
#endif
)
{
}
STARTTEST[?12l[?25h[?25l
:set cino&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 22C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=7][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l2kdd2j=7][
ENDTEST[?12l[?25h
[?25l
69 lines to indent...
50
7indented [?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
/^STARTTEST
int a,int b)
{
}void
func6(int a)
{
}
STARTTEST
:set cino&
:set cino+=l1
2kdd2j=][
ENDTEST
void func(void)
{
int tab[] =
{1, 2, 3,4, 5, 6};[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l:[?12l[?25hset cino+=l1
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l22 lines to indent...
23indented [?12l[?25h
[?25l/^STARTTEST
break;case baz: {printf("baz");break;}case quux:printf("But don't break the indentation of this instruction\n");break;
}
}
STARTTEST
:set cino&
2kdd2j=][
ENDTEST
void func(void)
{
cout << "a"
<< "b"
<< ") :"
<< "c";
}[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l6 lines to indent...
7indented  << "b"
<< ") :"
<< "c";[?12l[?25h
[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
:set com=s1:/*,m:*,ex:*/
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 38C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
]]3jofoo();^[[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset com=s1:/*,m:*,ex:*/
[?25l[?12l[?25h[?25lvoid func(void)
{[?12l[?25h[?25l/** This is a comment.*/[?12l[?25h[?25l
-- INSERT --
foo();[?12l[?25h[?25l
}[?12l[?25h[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:set cino&
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 21C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd2j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino&
[?25l[?12l[?25h[?25l2kdd2j=][ENDTEST[?12l[?25h
[?25l
8 lines to indent...
9indented [?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
/^STARTTEST
{
for (int i = 0; i < 10; ++i)if (i & 1) {foo(1);} elsefoo(0);
baz();
}
STARTTEST[?12l[?25h[?25l
:set cino=k2s,(0
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1
2kdd3j=][[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0
[?25l[?12l[?25h[?25l2kdd3j=][ENDTEST[?12l[?25h[?25l
void func(void)[?12l[?25h[?25l
23 lines to indent...
24indented [?12l[?25h[?25l
{[?12l[?25h[?25l
/^STARTTEST
if ( c1&& ( c2|| c3))foo;
func( c1&& ( c2|| c3))foo;
}
STARTTEST
:set cino=k2s,(s
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(s
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l23 lines to indent...
24indented  && condition2)
action(); && argument2);[?12l[?25h
[?25l/^STARTTEST
if ( c1&& ( c2|| c3))foo;
func( c1&& ( c2|| c3))foo;
}
STARTTEST
:set cino=k2s,(s,U1
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(s,U1
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l24 lines to indent...
25indented  && condition2)
action(); && argument2);[?12l[?25h
[?25l/^STARTTEST
&& (c22345|| c3))printf("foo\n");c = c1 &&(c2 ||c3) && c4;
}
STARTTEST
:set cino=k2s,(0,W4
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0,W4
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l29 lines to indent...
30indented  && condition2)
action(); && argument2);[?12l[?25h
[?25l/^STARTTEST
&& ( c2|| c3))foo;a_long_line(argument,argument);
a_short_line(argument,argument);
}
STARTTEST
:set cino=k2s,u2
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 27C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,u2
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l18 lines to indent...
19indented  && condition2)
action(); && argument2);[?12l[?25h
[?25l/^STARTTEST
foo;
if (c1 &&(c2 || c3))
{
}
if (c123456789&& (c22345|| c3))printf("foo\n");
}
STARTTEST
:set cino=k2s,(0,w1
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1
&& condition2)
action();
function(argument1
&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 30C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2s,(0,w1
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l27 lines to indent...
28indented  && condition2)
action(); && argument2);[?12l[?25h
[?25l/^STARTTEST
if ( c1&& ( c2|| c3))foo;
func( c1&& ( c2|| c3))foo;
}
STARTTEST
:set cino=k2,(s
2kdd3j=][
ENDTEST
void func(void)
{
if (condition1&& condition2)action();
function(argument1&& argument2);[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 26C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=k2,(s
[?25l[?12l[?25h[?25l
[?12l[?25h
[?25l14 lines to indent...
15indented [?12l[?25h
[?25l/^STARTTEST
if (c1 && (c2 ||c3))foo;
if (c1 &&(c2 || c3))
{
}
}
STARTTEST[?12l[?25h[?25l
:set cino=N-s
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 47C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^NAMESPACESTART
=/^NAMESPACEEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=N-s
[?25l[?12l[?25h[?25l/[?12l[?25h^NAMESPACESTART
[?25lNAMESPACESTART[?12l[?25h[?25l
/[?12l[?25h^NAMESPACEEND
[?25l61 lines to indent...
50
62indented [?12l[?25h[?25l/^STARTTEST
namespace test test2
{
1111111111111111111;
}
namespace111111111
{
111111111111111111;
}
NAMESPACEEND
STARTTEST
:set cino=j1,J1
/^JSSTART
=/^JSEND
ENDTEST
JSSTART
var bar = {
foo: {
that: this,
some: ok,
},[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25l[?12l[?25h[?25l/[?12l[?25h^JSEND
[?25l12 lines to indent...
13indented  foo: {
that: this,
some: ok,
},[?12l[?25h[?25l/^STARTTEST
"bar":{a : 2,b: "123abc",x: 4,"y": 5
}
}
JSEND
STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l5 lines to indent...
6indented [?12l[?25h[?25l/^STARTTEST
var foo = [
1,
2,
3
];
JSEND
STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l7 lines to indent...
8indented [?12l[?25h[?25l/^STARTTEST
function bar() {
var foo = [1,2,3
];
}
JSEND
STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l58 lines to indent...
509indented [?12l[?25h[?25l/^STARTTEST
return false;}_arguments[0]=options;method.apply(this,_arguments);}});
}
})(jQuery);
JSEND
STARTTEST
:set cino=j1,J1
/^JSSTART
=/^JSEND
ENDTEST
JSSTART
function init(options) {
$(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
bar: 2,
foobar: [[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25l[?12l[?25h[?25l/[?12l[?25h^JSEND
[?25l14 lines to indent...
15indented  $(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
bar: 2,
foobar: [[?12l[?25h[?25l/^STARTTEST
1,2,3],callback: function(){return true;}
}, options||{}));
}
JSEND
STARTTEST[?12l[?25h[?25l
:set cino=j1,J1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 35C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1/^JSSTART
=/^JSEND[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hset cino=j1,J1
[?25l[?12l[?25h[?25l/[?12l[?25h^JSSTART
[?25lJSSTART[?12l[?25h[?25l
/[?12l[?25h^JSEND
[?25l16 lines to indent...
17indented [?12l[?25h[?25l/^STARTTEST
(function($){
function init(options) {$(this).data(class_name+'_public',$.extend({},{foo: 'bar',bar: 2,foobar: [1,2,3],callback: function(){return true;}}, options||{}));
}
})(jQuery);
JSEND
STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 2L, 61C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l216 fewer lines}JSENDJSSTART(function($){function init(options) {$(this).data(class_name+'_public',$.extend({},{: 'bar',bar: 2,foobar: [1, 2, 3],callback: function(){ return true;
}
}, options||{}));
}
})(jQuery);
JSEND[?12l[?25h[?25l:[?12l[?25h1;/start of AUTO/,$wq! test.out
[?25l"test.out" [New] 1834L, 18193C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test8.failed test.ok test.out X* viminfo
cp test8.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test8.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test8.in" 46L, 1227C[>cTest for BufWritePre autocommand that deletes or unloads the buffer.
Test for BufUnload autocommand that unloads all other buffers.
STARTTEST
:so small.vim
:au BufWritePre Xxx1 bunload
:au BufWritePre Xxx2 bwipe
/^start of
A1^[:.,/end of/w! Xxx1 " write test file Xxx1
$r2:.,/end of/w! Xxx2 " write test file Xxx2
:e! Xxx2" edit Xxx2
:bdel test8.in" delete this file from the buffer list
:e Xxx1" edit Xxx1
:w" write it, will unload it and give an error msg
:w! test.out" Write contents of this file
:e! Xxx2" start editing Xxx2
:bwipe test.out" remove test.out from the buffer list
:w" write it, will delete the buffer and give an error msg:w >>test.out" Append contents of this file
:au! BufWritePre
:func CloseAll()
let i = 0
while i <= bufnr('$')[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for BufWritePre autocommand that deletes or unloads the buffer.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 37L, 1045C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1if i != bufnr('%') && bufloaded(i)exe i . "bunload"
endif
let i += 1
endwhile
endfunc
:func WriteToOut()
edit! test.out
$put ='VimLeave done'
write
endfunc
:set viminfo='100
:au BufUnload * call CloseAll()
:au VimLeave * call WriteToOut()
:e small.vim
:sp mbyte.vim
:q
:qa![?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWritePre Xxx1 bunload
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWritePre Xxx2 bwipe
[?25l[?12l[?25h[?25l/[?12l[?25h^start of
[?25lstart of Xxx[?12l[?25h[?25l
-- INSERT --1[?12l[?25h[?25l
:[?12l[?25h.,/end of/w! Xxx1 " write test file Xxx1
[?25l"Xxx1" [New] 3L, 31C written[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h.,/end of/w! Xxx2 " write test file Xxx2
[?25l"Xxx2" [New] 3L, 31C written[?12l[?25h[?25l:[?12l[?25he! Xxx2 " edit Xxx2
[?25l"Xxx2" 3L, 31Cstart of Xxx2
testend of Xxx~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hbdel test8.in...[?25l..." delete this file from the buffer list
[?12l[?25h[?25l:[?12l[?25he Xxx1 " edit Xxx1
[?25l"Xxx1" 3L, 31C1
[?12l[?25h[?25l:[?12l[?25hw " write it, will unload it and give an error msg
[?25l"Xxx2"3L, 31C
E203: Autocommands deleted or unloaded buffer to be written
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw! test.out " Write contents of this file
[?25l"test.out" [New] 3L, 31C written
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he! Xxx2 " start editing Xxx2
[?25l"Xxx2" 3L, 31Cstart of Xxx2test
end of Xxx"Xxx2" 3L, 31C[?12l[?25h[?25l:[?12l[?25hbwipe test.out " remove test.out from the buffer list
[?25l[?12l[?25h[?25l:[?12l[?25hw " write it, will delete the buffer and give an error ms
g[?25l"Xxx1"3L, 31C
E203: Autocommands deleted or unloaded buffer to be written
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw >>test.out " Append contents of this file
[?25l"test.out" 3L, 31C appended
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau! BufWritePre
[?25lstart of Xxx1test
end of Xxx[?12l[?25h[?25l:[?12l[?25hfunc CloseAll()
[?25l
: [?12l[?25h let i = 0
[?25l: [?12l[?25h while i <= bufnr('$')
[?25l: [?12l[?25h if i != bufnr('%') && bufloaded(i)
[?25l: [?12l[?25h exe i . "bunload"
[?25l: [?12l[?25h endif
[?25l: [?12l[?25h let i += 1
[?25l: [?12l[?25h endwhile
[?25l: [?12l[?25hendfunc
[?25lstart of Xxx1test
end of Xxx
~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hfunc WriteToOut()
[?25l
: [?12l[?25h edit! test.out
[?25l: [?12l[?25h $put ='VimLeave done'
[?25l: [?12l[?25h write
[?25l: [?12l[?25hendfunc
[?25lstart of Xxx1test
end of Xxx
~ [?12l[?25h[?25l:[?12l[?25hset viminfo='100
[?25l[?12l[?25h[?25l:[?12l[?25hau BufUnload * call CloseAll()
[?25l[?12l[?25h[?25l:[?12l[?25hau VimLeave * call WriteToOut()
[?25l[?12l[?25h[?25l:[?12l[?25he small.vim
[?25lError detected while processing function CloseAll:
line 4:
E515: No buffers were unloaded: 0bunload
"small.vim" f1L, 1C
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hsp mbyte.vim
[?25l"mbyte.vim" 0L, 0C~ ~ mbyte.vim small.vim "mbyte.vim" 0L, 0C[?12l[?25h[?25l:[?12l[?25hq
[?25lError detected while processing function CloseAll:
line 4:
E515: No buffers were unloaded: 0bunload
"test.out" f6L, 62C
"test.out" 7L, 76C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test10.failed test.ok test.out X* viminfo
cp test10.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test10.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test10.in" 114L, 3080C[>cTest for 'errorformat'. This will fail if the quickfix feature was disabled.
STARTTEST
:so small.vim
:" Also test a BOM is ignored.
:so mbyte.vim
:set encoding=utf-8
:7/start of errorfile/,/end of errorfile/w! Xerrorfile1
:7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
:/start of testfile/,/end of testfile/w! Xtestfile
:set efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
:set efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
:cf Xerrorfile2
:clast
:copen
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:cf Xerrorfile1
grA
:cn
gRLINE 6, COL 19^[
:cn[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'errorformat'. This will fail if the quickfix feature was disabled.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 50L, 801C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1gR. DASH POINTER^[
:cn
gR. TAB-SPACE POINTER^[
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:w! test.out" Write contents of this file
:qa!
ENDTEST
start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
<feff>"Xtestfile", line 6 col 19; this is an error
gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
Xtestfile:9: parse error before `asd'
make: *** [vim] Error 1
in file "Xtestfile" linenr 10: there is an error
2 returned[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Also test a BOM is ignored.
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25lgR. DASH POINTER^[
:cn
gR. TAB-SPACE POINTER^[
:clast
:cprev
:cprev
:wincmd w
:let a=w:quickfix_title
:wincmd p
lgR^R=a^M^[
:w! test.out" Write contents of this file
:qa!
ENDTEST
start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
<feff>"Xtestfile", line 6 col 19; this is an error
gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
Xtestfile:9: parse error before `asd'
make: *** [vim] Error 1
in file "Xtestfile" linenr 10: there is an error
2 returned[?12l[?25h[?25l:[?12l[?25h7/start of errorfile/,/end of errorfile/w! Xerrorfile1
[?25l"Xerrorfile1" [New] 83L, 1974C written[?12l[?25h[?25l:[?12l[?25h7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
[?25l"Xerrorfile2" [New] 82L, 1957C written[?12l[?25h[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtestfile
[?25l"Xtestfile" [New] 23L, 937C written[?12l[?25h[?25l:[?12l[?25hset efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
[?25l[?12l[?25h[?25l:[?12l[?25hset efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
[?25l[?12l[?25h[?25l:[?12l[?25hcf Xerrorfile2
[?25l"Xtestfile" 23L, 937C
(50 of 70): 1506-045 (S) Undeclared identifier fd_set.start of testfile xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 3
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 4
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 5
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 6
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 7
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 8
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 9
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 10
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 12
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 13xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 14
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 15
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 21xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 22
end of testfile[?12l[?25h[?25l:[?12l[?25hclast
[?25l(70 of 70): What is the title of the quickfix window?[?12l[?25h[?25l:[?12l[?25hcopen
[?25l xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 1213141516171819202122
Xtestfile Xtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 118Xtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 119Xtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 220|||| Does anyone know what is the problem and how to correction it?
Xtestfile|21 col 9| What is the title of the quickfix window?
Xtestfile|22 col 9| What is the title of the quickfix window? [Quickfix List] [?12l[?25h[?25l:[?12l[?25hlet a=w:quickfix_title
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25lXtestfile [Quickfix List]  [?12l[?25hx[?25l-- VREPLACE --=[?12l[?25ha
[?25l:cf Xerrorfile2[+][?12l[?25h[?25l
end of testfile[?12l[?25h[?25l:[?12l[?25hcf Xerrorfile1
[?25lstart of testfile 2 3 4 5 6 7 8 9xxxxxxxxxxxxxxx10
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 11
|| :qa!|| ENDTEST
|| || start of errorfile
Xtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set. Xtestfile|6 col 19| this is an error
|| gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
Xtestfile|9| parse error before `asd'|| make: *** [vim] Error 1Xtestfile|10| there is an error[?12l[?25h[?25l-- VREPLACE --A[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|4 col 12| 1506-045 (S) Undeclared identifier fd_set.Xtestfile|6 col 19| this is an error [?12l[?25h[?25l-- VREPLACE --LINE 6, COL 19[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|6 col 19| this is an errorXtestfile|9| parse error before `asd' [?12l[?25h[?25l-- VREPLACE --NO COLUMN SPECIFIED[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|9| parse error before `asd'Xtestfile|10| there is an error [?12l[?25h[?25l-- VREPLACE --AGAIN NO COLUMN[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|10| there is an error||
|| 2 returned
Xtestfile|11 col 1| this is an error [?12l[?25h[?25l-- VREPLACE --COL 1[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 12[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|11 col 1| this is an errorXtestfile|12 col 2| this is another error [?12l[?25h[?25l-- VREPLACE --COL 2[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 13[?12l[?25h[?25l:[?12l[?25hcn
[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 14
Xtestfile|12 col 2| this is another errorXtestfile|14 col 10| this is an error in column 10 [?12l[?25h[?25l-- VREPLACE --COL 10[?12l[?25h[?25l[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 15[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|14 col 10| this is an error in column 10Xtestfile|15 col 10| this is another error, but in vcol 10 this time [?12l[?25h[?25l-- VREPLACE --VCOL 10[?12l[?25h[?25l[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 16[?12l[?25h[?25l:[?12l[?25hcn
[?25l
Xtestfile|15 col 10| this is another error, but in vcol 10 this timeXtestfile|16| yet another problem [?12l[?25h[?25l-- VREPLACE --I[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|16| yet another problemXtestfile|17 col 13| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 117 [?12l[?25h[?25l-- VREPLACE --. SPACE POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|17 col 13| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 117Xtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 118 [?12l[?25h[?25l-- VREPLACE --. DOT POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|18 col 14| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 118Xtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 119 [?12l[?25h[?25l-- VREPLACE --. DASH POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20[?12l[?25h[?25l:[?12l[?25hcn
[?25lXtestfile|19 col 15| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 119Xtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 220 [?12l[?25h[?25l-- VREPLACE --. TAB-SPACE POINTER[?12l[?25h[?25l
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 21[?12l[?25h[?25l:[?12l[?25hclast
[?25lXtestfile|20 col 16| x should be a dot xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 220||
|| Does anyone know what is the problem and how to correction it?
Xtestfile|21 col 9| What is the title of the quickfix window?
Xtestfile|22 col 9| What is the title of the quickfix window?
|| end of errorfile ~ [?12l[?25h[?25l:[?12l[?25hcprev
[?25l
xxxxxxxx:cf Xerrorfile2xxxxxxx line 22Xtestfile|22 col 9| What is the title of the quickfix window? || end of errorfile[?12l[?25h[?25l:[?12l[?25hcprev
[?25lXtestfile|21 col 9| What is the title of the quickfix window? Xtestfile|22 col 9| What is the title of the quickfix window?[?12l[?25h[?25l:[?12l[?25hwincmd w
[?25lXtestfile [+]  [Quickfix List] [?12l[?25h[?25l:[?12l[?25hlet a=w:quickfix_title
[?25l[?12l[?25h[?25l:[?12l[?25hwincmd p
[?25lXtestfile [+] [Quickfix List]  [?12l[?25hx[?25l-- VREPLACE --=[?12l[?25ha
[?25l:cf Xerrorfile1[?12l[?25h[?25l:[?12l[?25hw! test.out " Write contents of this file
[?25l"test.out" [New] 23L, 942C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test11.failed test.ok test.out X* viminfo
cp test11.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test11.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test11.in" 84L, 3366C[>cTests for autocommands:
- FileWritePrewriting a compressed file
- FileReadPostreading a compressed file
- BufNewFilereading a file template
- BufReadPredecompressing the file to be read
- FilterReadPresubstituting characters in the temp file
- FilterReadPostsubstituting characters after filtering
- FileReadPreset options for decompression
- FileReadPostdecompress the file
Note: This test is skipped if "gzip" is not available.
$GZIP is made empty, "-v" would cause trouble.
Use a FileChangedShell autocommand to avoid a prompt for "Xtestfile.gz" being
modified outside of Vim (noticed on Solaris).
STARTTEST
:so small.vim
:" drop out when there is no gzip program
:if !executable("gzip")
: e! test.ok
: w! test.out
: qa!
:endif[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for autocommands:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 48L, 2298C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:23,$s/\r$//" remove CR for when sed adds them
:au! FileReadPre *.gz exe 'silent !gzip -d ' . shellescape(expand("<afile>""))
:au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
:au! FileReadPost *.gz '[,']s/l/L/
:$r Xtestfile.gz" Read compressed file
:w" write it, after filtering
:au!" remove all autocommands
:e" Edit test.out again
:set nobin ff& " use the default fileformat for writing
:w
:qa!
ENDTEST
startstart
start of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4 Abcdefghijklmnopqrstuvwxyz
line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6 Abcdefghijklmnopqrstuvwxyz
line 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8 Abcdefghijklmnopqrstuvwxyz[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" drop out when there is no gzip program
[?25l[?12l[?25h[?25l:[?12l[?25hif !executable("gzip")
[?25l
: [?12l[?25h: e! test.ok
[?25l: [?12l[?25h: w! test.out
[?25l: [?12l[?25h: qa!
[?25l: [?12l[?25h:endif
[?25l:23,$s/\r$//" remove CR for when sed adds them
:au! FileReadPre *.gz exe 'silent !gzip -d ' . shellescape(expand("<afile>""))
:au FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))[?12l[?25h[?25l:[?12l[?25hlet $GZIP = ""
[?25l[?12l[?25h[?25l:[?12l[?25hau FileChangedShell * echo "caught FileChangedShell"
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWritePre *.gz '[,']!gzip
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWritePost *.gz undo
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestfile.gz
[?25l[?12l[?25h[?25l11 lines filtered"Xtestfile.gz" [New][noeol] 1L, 111C written
10 more lines; before #1 0 seconds ago
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau FileReadPost *.gz '[,']!gzip -d
[?25l:23,$s/\r$//" remove CR for when sed adds them
:au! FileReadPre *.gz exe 'silent !gzip -d ' . shellescape(expand("<afile>"")[?12l[?25h[?25l:[?12l[?25h$r Xtestfile.gz " Read and decompress the testfile
[?25l"Xtestfile.gz" [noeol] 1L, 111C
[?12l[?25h[?25lline 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile
start of test.c
/*
* Here is a new .c file
*/
end of test.c
start of testfile[?12l[?25h[?25l
:[?12l[?25h?startstart?,$w! test.out " Write contents of this file
[?25l"test.out" [New] 29L, 788C written[?12l[?25h[?25l:[?12l[?25hau BufNewFile *.c read Xtest.c
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of test.c/+1,/^end of test.c/-1w! Xtest.c
[?25lsearch hit BOTTOM, continuing at TOP"Xtest.c" [New] 3L, 32C written[?12l[?25h[?25l:[?12l[?25he! foo.c " Will load Xtest.c
[?25l"foo.c" [New File]Xtest.c" 3L, 32C/* * Here is a new .c file
*/
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hau FileAppendPre *.out '[,']s/new/NEW/
[?25l[?12l[?25h[?25l:[?12l[?25hau FileAppendPost *.out !cat Xtest.c >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hw>>test.out " Append it to the output file
[?25l"test.out" 4L, 33C appended
:!cat Xtest.c >>test.out
[?12l[?25h
Press ENTER or type command to continue[?25l:[?12l[?25hau! FileAppendPre
[?25l/*
* Here is a NEW .c file
*/
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25h" setup autocommands to decompress before reading and re-compress afterwards
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPre *.gz exe '!gzip -d ' . shellescape(expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPost *.gz call rename(expand("<afile>"), expand("<afile>:r"))
[?25l[?12l[?25h[?25l:[?12l[?25hau BufReadPost *.gz exe '!gzip ' . shellescape(expand("<afile>:r"))
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtestfile.gz " Edit compressed file
[?25l:!gzip -d 'Xtestfile.gz'
[?12l[?25h[?25l"Xtestfile.gz" 11L, 357C
:!gzip 'Xtestfile'
[?12l[?25h
Press ENTER or type command to continue[?25l:[?12l[?25hw>>test.out " Append it to the output file
[?25l"test.out" 11L, 357C appended
:!cat Xtest.c >>test.out
[?12l[?25h
Press ENTER or type command to continue[?25l:[?12l[?25hset shelltemp " need temp files here
[?25lstart of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4 Abcdefghijklmnopqrstuvwxyz
line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6 Abcdefghijklmnopqrstuvwxyz
line 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8 Abcdefghijklmnopqrstuvwxyz
line 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hau FilterReadPre *.out call rename(expand("<afile>"), expand("<afile>") . "
.t")
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPre *.out exe 'silent !sed s/e/E/ ' . shellescape(expand("<afi
le>")) . ".t >" . shellescape(expand("<afile>"))
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPre *.out exe 'silent !rm ' . shellescape(expand("<afile>")) .
'.t'
[?25lstart of testfile[?12l[?25h[?25l:[?12l[?25hau FilterReadPost *.out '[,']s/x/X/g
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out " Edit the output file
[?25l"test.out" 50L, 1242Cstarstart of testfile2 Abcdefghijklmnopqrstuvwxyz3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4 Abcdefghijklmnopqrstuvwxyz5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6 Abcdefghijklmnopqrstuvwxyz7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8 Abcdefghijklmnopqrstuvwxyz9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfilestart of test.c/* * Here is a new .c file */end of test.cstart of testfileline 2 Abcdefghijklmnopqrstuvwxyzline 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 4 Abcdefghijklmnopqrstuvwxyzline 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[?12l[?25h[?25l:[?12l[?25h23,$!cat
[?25l[?12l[?25h[?25l218 substitutions on 15 lines
28 lines filtered
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h23,$s/\r$// " remove CR for when sed adds them
[?25lE486: Pattern not found: \r$
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau! FileReadPre *.gz exe 'silent !gzip -d ' . shellescape(expand("<afile>
"))
[?25lstartstart
start of testfile
line 2 Abcdefghijklmnopqrstuvwxyz
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[?12l[?25h[?25l
:[?12l[?25hau FileReadPre *.gz call rename(expand("<afile>:r"), expand("<afile>"))
[?25l[?12l[?25h[?25l:[?12l[?25hau! FileReadPost *.gz '[,']s/l/L/
[?25l[?12l[?25h[?25l:[?12l[?25h$r Xtestfile.gz " Read compressed file
[?25l[?12l[?25h[?25l"Xtestfile.gz" 11L, 357C
11 substitutions on 11 lines
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hw " write it, after filtering
[?25l"test.out"61L, 1599C written
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hau! " remove all autocommands
[?25lE216: No such group or event: " remove all autocommands
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25he " Edit test.out again
[?25l"test.out"61L, 1599ClinE 3 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 4 AbcdefghijklmnopqrstuvwXyz
linE 5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 6 AbcdefghijklmnopqrstuvwXyz
linE 7 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 8 AbcdefghijklmnopqrstuvwXyzE 9 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 10 AbcdefghijklmnopqrstuvwXyzEnd of testfile/* * HEre is a new .c file */start of testfiLe
Line 2 Abcdefghijklmnopqrstuvwxyz
Line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 4 Abcdefghijklmnopqrstuvwxyz
Line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 6 Abcdefghijklmnopqrstuvwxyz
Line 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 8
Line 9
Line 10
end of testfiLe"test.out" 61L, 1599C[?12l[?25h[?25l:[?12l[?25hset nobin ff& " use the default fileformat for writing
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 61L, 1599C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test12.failed test.ok test.out X* viminfo
cp test12.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test12.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test12.in" 51L, 1163C[>cTests for 'directory' option.
- ".", in same dir as file
- "./dir", in directory relative to file
- "dir", in directory relative to current dir
STARTTEST
:so small.vim
:set dir=.,~
:/start of testfile/,/end of testfile/w! Xtest1
:" do an ls of the current dir to find the swap file (should not be there)
:if has("unix")
: !ls .X*.swp >test.out
:else
: r !ls X*.swp >test.out
:endif
:!echo first line >>test.out
:e Xtest1
:if has("unix")
:" Do an ls of the current dir to find the swap file, remove the leading dot
:" to make the result the same for all systems.
: r!ls .X*.swp
: s/\.*X/X/
: .w >>test.out[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for 'directory' option.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 39L, 929C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:!mkdir Xtest2
:set dir=./Xtest2,.,~
:e Xtest1
:!ls X*.swp >>test.out
:!echo under under >>test.out
:!ls Xtest2 >>test.out
:!echo under Xtest1.swp >>test.out
:!mkdir Xtest.je
:/start of testfile/,/end of testfile/w! Xtest2/Xtest3
:set dir=Xtest.je,~
:e Xtest2/Xtest3
:swap
:!ls Xtest2 >>test.out
:!echo under Xtest3 >>test.out
:!ls Xtest.je >>test.out
:!echo under Xtest3.swp >>test.out
:qa!
ENDTEST
start of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset dir=.,~
[?25l[?12l[?25h[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtest1
[?25l"Xtest1" [New] 4L, 70C written[?12l[?25h[?25l:[?12l[?25h" do an ls of the current dir to find the swap file (should not be there)
[?25l[?12l[?25h[?25l:[?12l[?25hif has("unix")
[?25l
: [?12l[?25h: !ls .X*.swp >test.out
[?25l:!ls .X*.swp >test.out[?1l>[?12l[?25h[?1049l
ls: cannot access .X*.swp: No such file or directory
shell returned 2
Press ENTER or type command to continue[?1049h[?1h=
[?25l: :else
: [?12l[?25h: r !ls X*.swp >test.out
[?25l: [?12l[?25h:endif
[?25l:[?12l[?25h!echo first line >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 4L, 70Cstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "Xtest1" 4L, 70C[?12l[?25h[?25l:[?12l[?25hif has("unix")
[?25l
: [?12l[?25h:" Do an ls of the current dir to find the swap file, remove the leading dot
[?25l: [?12l[?25h:" to make the result the same for all systems.
[?25l: [?12l[?25h: r!ls .X*.swp

[?25l: [?12l[?25h: s/\.*X/X/
[?25l: [?12l[?25h: .w >>test.out
[?25l"test.out" 1L, 11C appended
: [?12l[?25h: undo
[?25l1 line less; before #1 0 seconds ago
: [?12l[?25h:else
[?25l: [?12l[?25h: !ls X*.swp >>test.out
[?25l: [?12l[?25h:endif
[?25lstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25h!echo under Xtest1.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xtest2
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hset dir=./Xtest2,.,~
[?25lstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 4L, 70C[?12l[?25h[?25l:[?12l[?25h!ls X*.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l
ls: cannot access X*.swp: No such file or directory
shell returned 2
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under under >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!ls Xtest2 >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest1.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xtest.je
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h/start of testfile/,/end of testfile/w! Xtest2/Xtest3
[?25lsearch hit BOTTOM, continuing at TOP"Xtest2/Xtest3" [New] 4L, 70C writtenstart of testfile
line 2 Abcdefghij
line 3 Abcdefghij
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "Xtest2/Xtest3" [New] 4L, 70C written[?12l[?25h[?25l:[?12l[?25hset dir=Xtest.je,~
[?25l[?12l[?25h[?25l:[?12l[?25he Xtest2/Xtest3
[?25l"Xtest2/Xtest3" 4L, 70C[?12l[?25h[?25l:[?12l[?25hswap
[?25lXtest.je/Xtest3.swp[?12l[?25h[?25l:[?12l[?25h!ls Xtest2 >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest3 >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!ls Xtest.je >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!echo under Xtest3.swp >>test.out
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test13.failed test.ok test.out X* viminfo
cp test13.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test13.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test13.in" 58L, 1133C[>cTests for autocommands on :close command
Write three files and open them, each in a window.
Then go to next window, with autocommand that deletes the previous one.
Do this twice, writing the file.
Also test deleting the buffer on a Unload event. If this goes wrong there
will be the ATTENTION prompt.
Also test changing buffers in a BufDel autocommand. If this goes wrong there
are ml_line errors and/or a Crash.
STARTTEST
:so small.vim
:/^start of testfile/,/^end of testfile/w! Xtestje1
:/^start of testfile/,/^end of testfile/w! Xtestje2
:/^start of testfile/,/^end of testfile/w! Xtestje3
:e Xtestje1
otestje1^[
:w
:sp Xtestje2
otestje2^[
:w[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for autocommands on :close command[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 38L, 631C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:au!
:au! BufUnload Xtestje1 bwipe
:e Xtestje3
:w >>test.out
:e Xtestje2
:sp Xtestje1
:e
:w >>test.out
:au!
:only
:e Xtestje1
:bwipe Xtestje2 Xtestje3 test.out test13.in
:au BufWipeout Xtestje1 buf Xtestje1
:bwipe
:w >>test.out
:qa!
ENDTEST
start of testfilecontentscontentscontents
end of testfile[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje1
[?25l"Xtestje1" [New] 5L, 64C written[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje2
[?25l"Xtestje2" [New] 5L, 64C written[?12l[?25h[?25l:[?12l[?25h/^start of testfile/,/^end of testfile/w! Xtestje3
[?25l"Xtestje3" [New] 5L, 64C written[?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 5L, 64Cstart of testfile
contents contents
contents
end of testfile
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --testje1[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje1" 6L, 72C written[?12l[?25h[?25l:[?12l[?25hsp Xtestje2
[?25l"Xtestje2" 5L, 64C contents
end of testfile~ Xtestje2 testje1 contents contents contentsend of testfileXtestje1 [?12l[?25h[?25l-- INSERT --testje2[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje2" 6L, 72C written [?12l[?25h[?25l:[?12l[?25hsp Xtestje3
[?25l"Xtestje3" 5L, 64Cstart of testfilecontentscontentscontents
end of testfile
~ ~ Xtestje3 testje2contentscontentscontents
end of testfile
~ ~ Xtestje2 testje1contentscontentscontents
end of testfile
~ Xtestje1 [?12l[?25h[?25l-- INSERT --testje3[+][?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtestje3" 6L, 72C written [?12l[?25hXtestje3  Xtestje2 [?25l:[?12l[?25hau WinLeave Xtestje2 bwipe
[?25l[?12l[?25h[?25lstart of testfile
testje3contentscontentscontents
end of testfile
~ ~ ~ ~ Xtestje3 testje1contentscontentscontents
end of testfile
~ ~ ~ ~ ~ ~ Xtestje1 [?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 6L, 72C written[?12l[?25h[?25l:[?12l[?25hau WinLeave Xtestje1 bwipe Xtestje3
[?25l[?12l[?25h[?25l:[?12l[?25hclose
[?25l1~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6L, 72C appended[?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 6L, 72C[?12l[?25h[?25l:[?12l[?25hbwipe Xtestje2 Xtestje3 test.out
[?25lE94: No matching buffer for Xtestje2 Xtestje3 test.out[?12l[?25h[?25l:[?12l[?25hau!
[?25l[?12l[?25h[?25l:[?12l[?25hau! BufUnload Xtestje1 bwipe
[?25l[?12l[?25h[?25l:[?12l[?25he Xtestje3
[?25l"Xtestje3" 6L, 72C3[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6L, 72C appended[?12l[?25h[?25l:[?12l[?25he Xtestje2
[?25l"Xtestje2" 6L, 72C2[?12l[?25h[?25l:[?12l[?25hsp Xtestje1
[?25l"Xtestje1" 6L, 72C1Xtestje1 start of testfiletestje2 contents contents contentsend of testfileXtestje2 [?12l[?25h[?25l:[?12l[?25he
[?25lE143: Autocommands unexpectedly deleted new buffer Xtestje122 "Xtestje2" line 1 of 6 --16%-- col 1t[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6L, 72C appended[?12l[?25h[?25l:[?12l[?25hau!
[?25l[?12l[?25h[?25l:[?12l[?25honly
[?25l~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25he Xtestje1
[?25l"Xtestje1" 6L, 72C1[?12l[?25h[?25l:[?12l[?25hbwipe Xtestje2 Xtestje3 test.out test13.in
[?25l4 buffers wiped out[?12l[?25h[?25l:[?12l[?25hau BufWipeout Xtestje1 buf Xtestje1
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe
[?25l"Xtestje1" 6L, 72C[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 6L, 72C appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test14.failed test.ok test.out X* viminfo
cp test14.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test14.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test14.in" 95L, 1496C[>cTests for "vaBiB", end could be wrong.
Also test ":s/pat/sub/" with different ~s in sub.
Also test for ^Vxff and ^Vo123 in Insert mode.
Also test "[m", "]m", "[M" and "]M"
Also test search()
STARTTEST
:so small.vim
/Start cursor here
vaBiBD:?Bug?,/Piece/-2w! test.out
/^- Bug
:s/u/~u~/
:s/i/~u~/
:s/o/~~~/
:.w >>test.out
:let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"
:exe "normal " . tt
:unlet tt
:.w >>test.out
:set vb
/^Piece
2]maA^[:.w >>test.out
j]maB^[:.w >>test.out[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for "vaBiB", end could be wrong.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 52L, 1031C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:s/foo/bar/
:$put =@/
/^substitute
:keeppatterns s/asdf/xyz/
:$put =@/
/^substitute
Y:$put =@0
/bar /e
:$put =@0
-:keeppatterns /xyz
0dn:/^search()/,$w >>test.out
:qa!
ENDTEST
- Bug in "vPPPP" on this text (Webb):{cmd;{cmd; /* <-- Start cursor here */{}}}[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l/[?12l[?25hStart cursor here
[?25l[?12l[?25h[?25l-- VISUAL --[?12l[?25h[?25l{
cmd; /* <-- Start cursor here */
{
}
[?12l[?25h[?25l cmd;
}[?12l[?25h[?25l
6 fewer lines }Piece of Java{ tt m1 { t1;e1[?12l[?25h[?25l:[?12l[?25h?Bug?,/Piece/-2w! test.out
[?25l"test.out" [New] 3L, 44C written[?12l[?25h[?25l/[?12l[?25h^- Bug
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hs/u/~u~/
[?25l[?12l[?25h[?25l:[?12l[?25hs/i/~u~/
[?25luuun "vPPPP" on this text (Webb):
[?12l[?25h[?25l:[?12l[?25hs/o/~~~/
[?25luuuuuuuuun this text (Webb):
[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 48C appended[?12l[?25h[?25l:[?12l[?25hlet tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>"
[?25l[?12l[?25h[?25l:[?12l[?25hexe "normal " . tt
[?25lABC !a^Og^G8[?12l[?25h[?25l:[?12l[?25hunlet tt
[?25l[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hset vb
[?25l[?12l[?25h[?25l/[?12l[?25h^Piece
[?25l[?12l[?25h[?25l
-- INSERT --A[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 10C appended[?12l[?25h[?25l} e1tt m2 {[?12l[?25h[?25l
-- INSERT --B[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 10C appended[?12l[?25h[?25lt2;} e2tt m3 {[?12l[?25h[?25l
-- INSERT --C[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 10C appended[?12l[?25h[?25l
-- INSERT --DC[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l-- INSERT --EA[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l-- INSERT --F[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 3C appended[?12l[?25h[?25l-- INSERT --G e1[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 7C appended[?12l[?25h
[?25lif (x){t3;}} e3[?12l[?25h[?25l
-- INSERT --H e3[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 7C appended[?12l[?25h[?25l
}[?12l[?25h[?5h[?5l[?25l
-- INSERT --I[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 3C appended[?12l[?25h[?25l
-- INSERT --JH e3[?12l[?25h[?25l
:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 8C appended[?12l[?25h[?25l-- INSERT --K e2[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 7C appended[?12l[?25h[?25l-- INSERT --LF[?12l[?25h[?25l:[?12l[?25h.w >>test.out
[?25l"test.out" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l/[?12l[?25h^foobar
[?25lfoobar[?12l[?25h[?25l
:[?12l[?25hlet startline = line('.')
[?25l[?12l[?25h[?25l:[?12l[?25hcall search('foobar', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25hcall search('^$', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l:[?12l[?25hcall search('^$', 'bc')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), line('.') - startline)
[?25l[?12l[?25h[?25l/[?12l[?25htwo
[?25lsubstitute foo asdf
one two[?12l[?25h[?25l
:[?12l[?25hcall search('.', 'c')
[?25l[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), getline('.')[col('.') - 1:])
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hs/foo/bar/
[?25lbar
[?12l[?25h[?25l:[?12l[?25h$put =@/
[?25lsearch()
0
1
1
two
foo[?12l[?25h[?25l
/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hkeeppatterns s/asdf/xyz/
[?25lxyz[?12l[?25h[?25l:[?12l[?25h$put =@/
[?25l
^substitute[?12l[?25h[?25l
/[?12l[?25h^substitute
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25h$put =@0
[?25l
substitute bar xyz[?12l[?25h[?25l
/[?12l[?25hbar /e
[?25l[?12l[?25h[?25l:[?12l[?25h$put =@0
[?25l
substitute bar xyz[?12l[?25h[?25l
:[?12l[?25hkeeppatterns /xyz
[?25l[?12l[?25h[?25l
/bar /exyz[?12l[?25h[?25l:[?12l[?25h/^search()/,$w >>test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 9L, 58C appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test15.failed test.ok test.out X* viminfo
cp test15.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test15.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test15.in" 135L, 2218C[>cTests for :right on text with embedded TAB.
Also test formatting a paragraph.
Also test undo after ":%s" and formatting.
STARTTEST
:so small.vim
:set tw=65
:/^\s*test for :left/,/^\s*test for :center/ left
:/^\s*test for :center/,/^\s*test for :right/ center
:/^\s*test for :right/,/^xxx/-1 right
:set fo+=tcroql tw=72
/xxxxxxxx$
0gq6kk
:" undo/redo here to make the next undo only work on the following changes
u^R
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTEST[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for :right on text with embedded TAB.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 16L, 373C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset tw=65
[?25l[?12l[?25h
[?25l:[?12l[?25h/^\s*test for :left/,/^\s*test for :center/ left
[?25l[?12l[?25h[?25l:[?12l[?25h/^\s*test for :center/,/^\s*test for :right/ center
[?25l[?12l[?25h[?25l:[?12l[?25h/^\s*test for :right/,/^xxx/-1 right
[?25l[?12l[?25h[?25l:[?12l[?25hset fo+=tcroql tw=72
[?25l[?12l[?25h[?25l/[?12l[?25hxxxxxxxx$
[?25lasxa;ofaaxxxoikeasdfaqweraxxxoikeaaxxxoikeyfaaxxxoikeydfaaxxxoikeysdfaaxxxoikeyasdfaaxxxoikeyxasdfaaxxxoikeyasxxdfaaxxxoikeyasxa;ofaaxxxoikeyasdfaqweraxxxoikey
xxxxx xx xxxxxx
xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx
xxxxxxxxxxxxxxxxxx xxxxx xxxx, xxxx xxxx xxxx xxxx xxx xx xx
xx xxxxxxx. xxxx xxxx.
> xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx
> xxxxxx xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx
aa aa aa aa
bb bb bb bb
cc cc cc cc[?12l[?25h
[?25l
 xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xxxx xxxxxxx.
xxxx xxxx.xxxxxxx: xxxx xxxxxxx, xx xxxx xxxxxxx~ [?12l[?25h
[?25l:[?12l[?25h" undo/redo here to make the next undo only work on the following changes
[?25l[?12l[?25h[?25l1 more line; before #1 0 seconds ago:set fo+=tcroql tw=72
/xxxxxxxx$
0gq6kk
:" undo/redo here to make the next undo only work on the following changes
u^R
:map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
/^aa
ggu
:?test for :left?,$w! test.out
:qa!
ENDTESTtest for :leftaafaadfaasdfaaasdfaaxasdfaa
asxxdfaatest for :centeraa[?12l[?25h[?25l1 line less; after #1 0 seconds agotest for :lefta afa adfa asdfaaasdfa axasdfaa test for :center  aa[?12l[?25h
[?25l:[?12l[?25hmap gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
[?25l[?12l[?25h[?25l/[?12l[?25h^aa
[?25lasxxdfaaxxxoikeasxa;ofaaxxxoikeasdfaqweraxxxoikeaaxxxoikeyfaaxxxoikeydfaaxxxoikeysdfaaxxxoikeyasdfaaxxxoikeyxasdfaaxxxoikeyasxxdfaaxxxoikeyasxa;ofaaxxxoikeyasdfaqweraxxxoikey
xxxxx xx xxxxxx xxxxxxx xxxxxxxxx xxx xxxx xxxxx xxxxx xxx xx
xxxxxxxxxxxxxxxxxx xxxxx xxxx, xxxx xxxx xxxx xxxx xxx xx xx xx xxxxxxx.
xxxx xxxx.
> xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx xxxxxx
> xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx
aa aa aa aa
bb bb bb bb
cc cc cc cc[?12l[?25h[?25l
:.,.+2s/^/x/
3 substitutions on 3 linesxaa aa aa aa
xbb bb bb bb
xcc cc cc cc
[?12l[?25h[?25l:set tw=3
[?12l[?25h[?25l
3 more lines
aaaaaa3 more lines[?12l[?25h[?25l
3 fewer lines; before #2 0 seconds agoaa aa aa aa
bb bb bb bb
cc cc cc cc
~ [?12l[?25h
[?25l:[?12l[?25h?test for :left?,$w! test.out
[?25l"test.out"[New] 111L, 2304C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test17.failed test.ok test.out X* viminfo
cp test17.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test17.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test17.in" 133L, 2502C[>cTests for:
- "gf" on ${VAR},
- ":checkpath!" with various 'include' settings.
STARTTEST
:so small.vim
:set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
:function! DeleteDirectory(dir)
: if has("win16") || has("win32") || has("win64") || has("dos16") || has("dos32"")
: exec "silent !rmdir /Q /S " . a:dir
: else
: exec "silent !rm -rf " . a:dir
: endif
:endfun
:if has("unix")
:let $CDIR = "."
/CDIR
:else
:let $TDIR = "."
/TDIR
:endif
:" Dummy writing for making that sure gf doesn't fail even if the current[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 25L, 639C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:" > nmake -f Make_dos.mak test17.out
:w! test.out
gf
:set ff=unix
:w! test.out
:brewind[?12l[?25h[?25lENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,}
[?25l[?12l[?25h[?25l:[?12l[?25hfunction! DeleteDirectory(dir)
[?25l
: [?12l[?25h: if has("win16") || has("win32") || has("win64") || has("dos16") || has("do
s32")
[?25l: [?12l[?25h: exec "silent !rmdir /Q /S " . a:dir
[?25l: [?12l[?25h: else
[?25l: [?12l[?25h: exec "silent !rm -rf " . a:dir
[?25l: [?12l[?25h: endif
[?25l: [?12l[?25h:endfun
[?25l: exec "silent !rmdir /Q /S " . a:dir
: else
: exec "silent !rm -rf " . a:dir
: endif
:endfun
:if has("unix")
:let $CDIR = "."[?12l[?25h[?25l
:[?12l[?25hif has("unix")
[?25l
: [?12l[?25h:let $CDIR = "."
[?25l: [?12l[?25h/CDIR
[?25l: [?12l[?25h:else
[?25l: [?12l[?25h:let $TDIR = "."
[?25l: [?12l[?25h/TDIR
[?25l: [?12l[?25h:endif
[?25l: else
: exec "silent !rm -rf " . a:dir
: endif
:endfun
:if has("unix")
:let $CDIR = "."
/CDIR:else
:let $TDIR = "."
/TDIR:endif
:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat': > nmake -f Make_dos.mak test17.outw! test.outgf:set ff=unix
:w! test.out
:brewindENDTEST${CDIR}/test17a.in[?12l[?25h[?25l
:[?12l[?25h" Dummy writing for making that sure gf doesn't fail even if the current
[?25l[?12l[?25h[?25l:[?12l[?25h" file is modified. It can be occurred when executing the following command
[?25l[?12l[?25h[?25l:[?12l[?25h" directly on Windows without fixing the 'fileformat':
[?25l[?12l[?25h[?25l:[?12l[?25h" > nmake -f Make_dos.mak test17.out
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 133L, 2502C written[?12l[?25h[?25l
"~/build/neovim/neovim/src/nvim/testdir/./test17a.in" 3L, 88CThis file is just to test "gf" in test 17.
The contents is not important.Just testing!
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h
[?25l:[?12l[?25hset ff=unix
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 3L, 88C written[?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 133L, 2502C:" Dummy writing for making that sure gf doesn't fail even if the current
:" file is modified. It can be occurred when executing the following command
:" directly on Windows without fixing the 'fileformat':
:" > nmake -f Make_dos.mak test17.out:w! test.outgf:set ff=unix:w! test.out:brewindENDTEST ${CDIR}/test17a.in $TDIR/test17a.inSTARTTEST:" check for 'include' without \zs or \ze:lang C:call delete("./Xbase.a"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":e! Xdir1/dir2/foo.ai#include "bar.a"^[[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 23L, 395C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:w
:e Xdir1/dir2/baz.a
i#include"foo.a"^[
:w
:e Xbase.a
:set path=Xdir1/dir2
i#include <foo.a>^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST
STARTTEST
:" check for 'include' with \zs and \ze
:call delete("./Xbase.b")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*/\zs[^/]\+\ze'
:function! DotsToSlashes()
: return substitute(v:fname, '\.', '/', 'g') . '.b'[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' without \zs or \ze
[?25l[?12l[?25h[?25l:[?12l[?25hlang C
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.a")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25he! Xdir1/dir2/foo.a
[?25l"Xdir1/dir2/foo.a" [New File]~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --#include "bar.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.a" [New] 1L, 19C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.a
[?25l"Xdir1/dir2/bar.a" [New File][?12l[?25h[?25l-- INSERT --#include "baz.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.a" [New] 1L, 22C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.a
[?25l"Xdir1/dir2/baz.a" [New File][?12l[?25h[?25l-- INSERT --#include"foo.a"[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.a" [New] 1L, 28C written[?12l[?25h[?25l:[?12l[?25he Xbase.a
[?25l"Xbase.a" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l-- INSERT --#include <foo.a>[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.a" [New] 1L, 20C written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---
Xdir1/dir2/foo.a
Xdir1/dir2/foo.a -->
Xdir1/dir2/bar.a
Xdir1/dir2/bar.a -->
Xdir1/dir2/baz.a
Xdir1/dir2/baz.a -->
"foo.a" (Already listed)
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l#include <foo.a>
~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 133L, 2502C:e Xdir1/dir2/baz.a
i#include "foo.a"^[:w:e Xbase.a:set path=Xdir1/dir2i#include <foo.a>^[:w:redir! >>test.out:checkpath!:redir END:brewindENDTESTSTARTTEST:" check for 'include' with \zs and \ze:call delete("./Xbase.b"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*/\zs[^/]\+\ze':function! DotsToSlashes(): return substitute(v:fname, '\.', '/', 'g') . '.b':endfunction[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 27L, 531C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:w
:e Xdir1/dir2/baz.b
i%inc/foo/^[
:w
:e Xbase.b
:set path=Xdir1/dir2
i%inc /foo/^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST
STARTTEST
:" check for 'include' with \zs and no \ze
:call delete("./Xbase.c")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
:function! StripNewlineChar()
: if v:fname =~ '\n$'[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' with \zs and \ze
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.b")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hlet &include='^\s*%inc\s*/\zs[^/]\+\ze'
[?25l:w
:e Xdir1/dir2/baz.b
i%inc/foo/^[
:w
:e Xbase.b
:set path=Xdir1/dir2
i%inc /foo/^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
ENDTEST
STARTTEST
:" check for 'include' with \zs and no \ze
:call delete("./Xbase.c")
:call DeleteDirectory("Xdir1")
:!mkdir Xdir1
:!mkdir "Xdir1/dir2"
:let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
:function! StripNewlineChar()
: if v:fname =~ '\n$'[?12l[?25h[?25l:[?12l[?25hfunction! DotsToSlashes()
[?25l
: [?12l[?25h: return substitute(v:fname, '\.', '/', 'g') . '.b'
[?25l: [?12l[?25h:endfunction
[?25l:w
:e Xdir1/dir2/baz.b[?12l[?25h[?25l:[?12l[?25hlet &includeexpr='DotsToSlashes()'
[?25l[?12l[?25h[?25l:[?12l[?25he! Xdir1/dir2/foo.b
[?25l"Xdir1/dir2/foo.b" [New File]~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --%inc /bar/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.b" [New] 1L, 13C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.b
[?25l"Xdir1/dir2/bar.b" [New File][?12l[?25h[?25l-- INSERT --%inc /baz/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.b" [New] 1L, 16C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.b
[?25l"Xdir1/dir2/baz.b" [New File][?12l[?25h[?25l-- INSERT --%inc/foo/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.b" [New] 1L, 22C written[?12l[?25h[?25l:[?12l[?25he Xbase.b
[?25l"Xbase.b" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l-- INSERT --%inc /foo/[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.b" [New] 1L, 14C written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---
Xdir1/dir2/foo.b
Xdir1/dir2/foo.b -->
Xdir1/dir2/bar.b
Xdir1/dir2/bar.b -->
Xdir1/dir2/baz.b
Xdir1/dir2/baz.b -->
foo (Already listed)
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l%inc /foo/
~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 133L, 2502C:e Xdir1/dir2/baz.b
i%inc /foo/^[:w:e Xbase.b:set path=Xdir1/dir2i%inc /foo/^[:w:redir! >>test.out:checkpath!:redir END:brewindENDTESTSTARTTEST:" check for 'include' with \zs and no \ze:call delete("./Xbase.c"):call DeleteDirectory("Xdir1"):!mkdir Xdir1:!mkdir "Xdir1/dir2":let &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze':function! StripNewlineChar(): if v:fname =~ '\n$': return v:fname[:-2][?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 39L, 743C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c
i%incfoo.c^[
:w
:e Xbase.c
:set path=Xdir1/dir2
i%inc FALSE.c foo.c^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
:" change "\" to "/" for Windows and fix 'fileformat'
:e test.out
:%s#\\#/#g
:set ff&
:w
:q
ENDTEST[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" check for 'include' with \zs and no \ze
[?25l[?12l[?25h[?25l:[?12l[?25hcall delete("./Xbase.c")
[?25l[?12l[?25h[?25l:[?12l[?25hcall DeleteDirectory("Xdir1")
[?25l[?1l>[?12l[?25h[?1049l[?1049h[?1h=[?25l:[?12l[?25h!mkdir Xdir1
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25h!mkdir "Xdir1/dir2"
[?25l[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:[?12l[?25hlet &include='^\s*%inc\s*\%([[:upper:]][^[:space:]]*\s\+\)\?\zs\S\+\ze'
[?25l:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c
i%incfoo.c^[
:w
:e Xbase.c
:set path=Xdir1/dir2
i%inc FALSE.c foo.c^[
:w
:redir! >>test.out
:checkpath!
:redir END
:brewind
:" change "\" to "/" for Windows and fix 'fileformat'
:e test.out
:%s#\\#/#g
:set ff&
:w
:q
ENDTEST
[?12l[?25h[?25l
:[?12l[?25hfunction! StripNewlineChar()
[?25l
: [?12l[?25h: if v:fname =~ '\n$'
[?25l: [?12l[?25h: return v:fname[:-2]
[?25l: [?12l[?25h: endif
[?25l: [?12l[?25h: return v:fname
[?25l: [?12l[?25h:endfunction
[?25l:w
:e Xdir1/dir2/baz.c
i%incfoo.c^[
:w
:e Xdir1/dir2/FALSE.c[?12l[?25h[?25l
:[?12l[?25hlet &includeexpr='StripNewlineChar()'
[?25l[?12l[?25h[?25l:[?12l[?25he! Xdir1/dir2/foo.c
[?25l"Xdir1/dir2/foo.c" [New File]~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --%inc bar.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/foo.c" [New] 1L, 13C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/bar.c
[?25l"Xdir1/dir2/bar.c" [New File][?12l[?25h[?25l-- INSERT --%inc baz.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/bar.c" [New] 1L, 16C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/baz.c
[?25l"Xdir1/dir2/baz.c" [New File][?12l[?25h[?25l-- INSERT --%incfoo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/baz.c" [New] 1L, 22C written[?12l[?25h[?25l:[?12l[?25he Xdir1/dir2/FALSE.c
[?25l"Xdir1/dir2/FALSE.c" [New File][?12l[?25h[?25l-- INSERT --%incfoo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xdir1/dir2/FALSE.c" [New] 1L, 22C written[?12l[?25h[?25l:[?12l[?25he Xbase.c
[?25l"Xbase.c" [New File][?12l[?25h[?25l:[?12l[?25hset path=Xdir1/dir2
[?25l[?12l[?25h[?25l-- INSERT --%inc FALSE.c foo.c[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xbase.c" [New] 1L, 22C written[?12l[?25h[?25l:[?12l[?25hredir! >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hcheckpath!
[?25l--- Included files in path ---
Xdir1/dir2/foo.c
Xdir1/dir2/foo.c -->
Xdir1/dir2/bar.c
Xdir1/dir2/bar.c -->
Xdir1/dir2/baz.c
Xdir1/dir2/baz.c -->
foo.c (Already listed)
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25l%inc FALSE.c foo.c
~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hbrewind
[?25l"test17.in" 133L, 2502C:w:e Xdir1/dir2/baz.ci%inc foo.c^[:w:e Xdir1/dir2/FALSE.ci%inc foo.c^[:w:e Xbase.c:set path=Xdir1/dir2i%inc FALSE.c foo.c^[:w:redir! >>test.out:checkpath!:redir END:brewind:" change "\" to "/" for Windows and fix 'fileformat':e test.out:%s#\\#/#g:set ff&:w:qENDTEST[?12l[?25h[?25l:[?12l[?25h" change "\" to "/" for Windows and fix 'fileformat'
[?25l[?12l[?25h[?25l:[?12l[?25he test.out
[?25l"test.out" 33L, 655CThis file is just to test "gf" in test 17.
The contents is not important.
Just testing!--- Included files in path ---
Xdir1/dir2/foo.a
Xdir1/dir2/foo.a -->
Xdir1/dir2/bar.a Xdir1/dir2/bar.a --> Xdir1/dir2/baz.a
Xdir1/dir2/baz.a -->
"foo.a" (Already listed)--- Included files in path ---Xdir1/dir2/foo.b
Xdir1/dir2/foo.b -->
Xdir1/dir2/bar.b
Xdir1/dir2/bar.b -->
Xdir1/dir2/baz.b
Xdir1/dir2/baz.b -->foo (Already listed)[?12l[?25h[?25l:[?12l[?25h%s#\\#/#g
[?25lE486: Pattern not found: \\[?12l[?25h[?25l:[?12l[?25hset ff&
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 33L, 655C written[?12l[?25h[?25l:[?12l[?25hq
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test19.failed test.ok test.out X* viminfo
cp test19.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test19.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test19.in" 33L, 692C[>cTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.
Also test that dv_ works correctly
STARTTEST
:so small.vim
:set smarttab expandtab ts=8 sw=4
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
/some
r:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR^H^H^H^[
:" Test replacing with Tabs
0wR^[
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x^[:set nosol
/Second line/
fwdv_:?^start?,$w! test.out
:qa![?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for "r<Tab>" with 'smarttab' and 'expandtab' set/not set.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 19L, 447C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h[?25l
ENDTEST[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset smarttab expandtab ts=8 sw=4
[?25l[?12l[?25h[?25l:[?12l[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?12l[?25h[?25l:[?12l[?25hset t_kD=^^? t_kb=^^H
[?25lAlso test that dv_ works correctly
STARTTEST
:so small.vim
:set smarttab expandtab ts=8 sw=4
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
/some
r:set noexpandtab
/other
r
:" Test replacing with Tabs and then backspacing to undo it
0wR^H^H^H^[
:" Test replacing with Tabs
0wR^[
:" Test that copyindent works with expandtab set
:set expandtab smartindent copyindent ts=8 sw=8 sts=8
o{
x^[:set nosol
/Second line/
fwdv_:?^start?,$w! test.out
:qa!
ENDTEST
[?12l[?25h[?25l
/[?12l[?25hsome
[?25lstart textsome test text[?12l[?25h[?25l
-- REPLACE -- ome test text[?12l[?25h[?25l
:[?12l[?25hset noexpandtab
[?25l[?12l[?25h[?25l/[?12l[?25hother
[?25ltest textother test text[?12l[?25h[?25l
-- REPLACE -- ther test text[?12l[?25h[?25l
a cde[?12l[?25h[?25l
:[?12l[?25h" Test replacing with Tabs and then backspacing to undo it
[?25l[?12l[?25h
[?25l
-- REPLACE --[?12l[?25h[?25l[?12l[?25h[?25l
f ghi
[?12l[?25h[?25l
:[?12l[?25h" Test replacing with Tabs
[?25l[?12l[?25h
[?25l
-- REPLACE -- hi[?12l[?25h[?25l[?12l[?25h[?25l
test text[?12l[?25h[?25l
:[?12l[?25h" Test that copyindent works with expandtab set
[?25l[?12l[?25h[?25l:[?12l[?25hset expandtab smartindent copyindent ts=8 sw=8 sts=8
[?25l[?12l[?25h[?25l
-- INSERT --{x[?12l[?25h[?25l
:[?12l[?25hset nosol
[?25l[?12l[?25h[?25l/[?12l[?25hSecond line/
[?25l
Second line beginning with whitespace[?12l[?25h[?25l
with whitespace[?12l[?25h[?25l
:[?12l[?25h?^start?,$w! test.out
[?25l"test.out" [New] 10L, 121C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test24.failed test.ok test.out X* viminfo
cp test24.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test24.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test24.in" 88L, 1265C[>cTests for regexp with backslash and other special characters inside []
Also test backslash for hex/octal numbered character.
STARTTEST
/[\x]
x/[\t\]]
x/[]y]
x/[\]]
x/[y^]
x/[$y]
x/[\x61]
x/[\x60-\x64]
xj0/[\x785]
x/[\o143]
x/[\o140-\o144]
x/[\o417]
x/\%x42
x/\%o103
x/[\x00]
x
:s/[\x00-\x10]//g
:s/[\x-z]\+//[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with backslash and other special characters inside [][?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 50L, 483C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:s/^\(\h\w*\%(->\|\.\)\=\)\+=/XX/
:s/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/
:s/aaa/xyz/
:s/~/bcd/
:s/~\+/BB/
:"
:?start?,$w! test.out
:qa!
ENDTEST
start
test \text test text
test text test text
test text ]test text
test ]text test text
test text te^st text
test te$xt test text
test taext test text x61
test tbext test text x60-x64[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h[\x]
[?25l[?12l[?25h[?25ltext test text[?12l[?25h[?25l/[?12l[?25h[\t\]]
[?25l[?12l[?25h[?25ltext test tex[?12l[?25h[?25l/[?12l[?25h[]y]
[?25l[?12l[?25h[?25ltest text[?12l[?25h[?25l/[?12l[?25h[\]]
[?25l[?12l[?25h[?25ltext test text[?12l[?25h[?25l/[?12l[?25h[y^]
[?25l[?12l[?25h[?25lst text[?12l[?25h[?25l/[?12l[?25h[$y]
[?25l[?12l[?25h[?25lxt test text[?12l[?25h[?25l/[?12l[?25h[\x61]
[?25l[?12l[?25h[?25lext test text x61[?12l[?25h[?25l/[?12l[?25h[\x60-\x64]
[?25l[?12l[?25h[?25lext test text x60-x64[?12l[?25h[?25l
test 5text test text x78 5[?12l[?25h
[?25l
/[?12l[?25h[\x785]
[?25l[?12l[?25h[?25ltext test text x78 5[?12l[?25h[?25l/[?12l[?25h[\o143]
[?25l
testc text test text o143[?12l[?25h[?25l text test text o143[?12l[?25h[?25l
/[?12l[?25h[\o140-\o144]
[?25l
tesdt text test text o140-o144[?12l[?25h[?25lt text test text o140-o14[?12l[?25h[?25l
/[?12l[?25h[\o417]
[?25l
test7 text test text o41 7[?12l[?25h[?25l text test text o41 7[?12l[?25h[?25l
/[?12l[?25h\%x42
[?25l
test text tBest text \%x42[?12l[?25h[?25lest text \%x42[?12l[?25h[?25l
/[?12l[?25h\%o103
[?25l
test text teCst text \%o103[?12l[?25h[?25lst text \%o103[?12l[?25h[?25l
/[?12l[?25h[\x00]
[?25l
test text ^@test text [\x00][?12l[?25h[?25ltest text [\x00][?12l[?25h[?25l
test te^@xt t^Dest t^Pext [\x00-\x10][?12l[?25h[?25l
:[?12l[?25hs/[\x00-\x10]//g
[?25l3 substitutions on 1 linext test text [\x00-\x10][?12l[?25h[?25l
test \xyztext test text [\x-z][?12l[?25h[?25l
:[?12l[?25hs/[\x-z]\+//
[?25ltext test text [\x-z][?12l[?25h[?25l
test text tev\uyst text [\u-z][?12l[?25h[?25l
:[?12l[?25hs/[\u-z]\{2,}//
[?25lst text [\u-z][?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\+//
[?25l xx [?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a*\)\+//
[?25l[?12l[?25h[?25l
xx aaaaa xx a[?12l[?25h[?25l
:[?12l[?25hs/\(a*\)*//
[?25l[?12l[?25h[?25l
xx aaaaa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\{2,3}/A/
[?25lAaa xx[?12l[?25h[?25l
xx aaaaa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)\{-2,3}/A/
[?25lAaaa x[?12l[?25h[?25l
xx aaa12aa xx[?12l[?25h[?25l
:[?12l[?25hs/\(a\)*\(12\)\@>/A/
[?25lAaa xx[?12l[?25h[?25l
xx foobar xbar xx[?12l[?25h[?25l
:[?12l[?25hs/\(foo\)\@<!bar/A/
[?25lA xx[?12l[?25h[?25l
xx an file xx[?12l[?25h[?25l
:[?12l[?25hs/\(an\_s\+\)\@<=file/A/
[?25lA xx[?12l[?25h[?25l
x= 9;[?12l[?25h[?25l
:[?12l[?25hs/^\(\h\w*\%(->\|\.\)\=\)\+=/XX/
[?25lXX
[?12l[?25h[?25l
hh= 77;[?12l[?25h[?25l
:[?12l[?25hs/^\(\h\w*\%(->\|\.\)\=\)\+=/YY/
[?25lYY 77;[?12l[?25h[?25l
aaa[?12l[?25h[?25l
:[?12l[?25hs/aaa/xyz/
[?25lxyz
[?12l[?25h[?25l
xyz[?12l[?25h[?25l
:[?12l[?25hs/~/bcd/
[?25lbcd
[?12l[?25h[?25l
bcdbcdbcd[?12l[?25h[?25l
:[?12l[?25hs/~\+/BB/
[?25lBB[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h?start?,$w! test.out
[?25l"test.out" [New] 32L, 586C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test29.failed test.ok test.out X* viminfo
cp test29.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test29.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test29.in" 229L, 4161C[>cTest for joining lines and marks in them
in compatible and nocompatible modes
and with 'joinspaces' set or not
and with 'cpoptions' flag 'j' set or not
STARTTEST
:so small.vim
:set nojoinspaces
:set cpoptions-=j
/firstline/
j"td/^STARTTEST/-1
PJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=jj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j joinspaces
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptionss+=j
j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpo+=qo
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2
ENDTEST
firstline
asdfasdf.
asdf
asdfasdf.[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for joining lines and marks in them[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 10L, 413C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset nojoinspaces
[?25l[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j
[?25l[?12l[?25h[?25l/[?12l[?25hfirstline/
[?25l[?12l[?25h
[?25l/[?12l[?25h^STARTTEST/-1
[?25l+-1
37 fewer linesSTARTTEST
/^{/+1
:set comments=s1:/*,mb:*,ex:*/,://[?12l[?25h[?25lmore linesasdfasdf.
asdfasdfasdf. [?12l[?25h[?25lasdf
asdfasdf.[?12l[?25h[?25l asdf
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h
zx cv[?25las dfg?
hjkl iop!
ert[?12l[?25h
hjkl i[?25l. as dfg? hjkl iop! ert
zx cvn.
as dfg?hjkl iop![?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l:[?12l[?25hset cpoptions+=j
[?25l[?12l[?25h
zx cv
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j joinspaces
[?25l[?12l[?25h
[?25l
37 more linesasdfasdf.
[?12l[?25h[?25lasdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h
zx cv[?25las dfg?
hjkl iop![?12l[?25h
hjkl i[?25l. as dfg? hjkl iop! ert
zx cvn.
as dfg?[?12l[?25h er[?25lt e[?12l[?25h
zx cv[?25len[?12l[?25h[?25lnop[?12l[?25h[?25l
:[?12l[?25hset cpoptions+=j
[?25l[?12l[?25h
zx cv[?25l
hjkl iop![?12l[?25h
hjkl i[?25l. as dfg? hjkl iop! ertSTARTTEST[?12l[?25h er[?25lt er[?12l[?25h
zx cv[?25lrn[?12l[?25h[?25lnop[?12l[?25h[?25l
:[?12l[?25hset cpo+=qo
[?25l[?12l[?25h
[?25l
37 more linesasdfasdf.
[?12l[?25h[?25lasdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf. [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf.[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25lf asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf [?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
asdfasdf[?12l[?25h[?25l asdf[?12l[?25h[?25l
zx cvn.[?12l[?25h[?25l. as dfg? hjkl iop! ert[?12l[?25h[?25lt a[?12l[?25h[?25l
zx cvn.[?12l[?25h[?25l
/[?12l[?25hSTARTTEST/-2
[?25l+-2
4 fewer lines[?12l[?25h[?25l/^STARTTEST

STARTTEST[?12l[?25h[?25l
/^{/+1
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 12L, 147C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:set comments=s1:/*,mb:*,ex:*/,://
:set nojoinspaces fo=j
:set backspace=eol,start
:.,+3join
j4J
:.,+2join
j3J
:.,+2join
j3J
:.,+2join
jj3J
ENDTEST[?12l[?25h[?25l
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l{[?12l[?25h[?25l
:[?12l[?25hset comments=s1:/*,mb:*,ex:*/,://
[?25l[?12l[?25h[?25l:[?12l[?25hset nojoinspaces fo=j
[?25l[?12l[?25h[?25l:[?12l[?25hset backspace=eol,start
[?25l[?12l[?25h[?25l:[?12l[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. */
[?12l[?25h[?25l
[?12l[?25h[?25l/* Make sure the previous comment leader is not removed. */
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25l// Should the next comment leader be left alone? Yes.
[?12l[?25h[?25l
[?12l[?25h[?25l// Should the next comment leader be left alone? Yes.
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?12l[?25h[?25l
[?12l[?25h[?25l/* Here the comment leader should be left intact. */ // And so should this one.
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();[?12l[?25h[?25l
[?12l[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();
[?12l[?25h[?25l
/^STARTTEST
}
STARTTEST[?12l[?25h[?25l
:" Test with backspace set to the non-compatible setting
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 17L, 312C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST:inoremap <c-u> <left><c-u>
Avim3^U^[
:iunmap <c-u>
Avim4^U^U^[
:" Test with backspace set to the compatible setting
:set bs=
A vim5^[A^U^U^[
A vim6^[Azwei^Gu^U^[
:inoremap <c-u> <left><c-u>
A vim7^U^U^[
:set noesckeys
ENDTEST
1 this shouldn't be deleted
2 this shouldn't be deleted
3 this shouldn't be deleted
4 this should be deleted
5 this shouldn't be deleted
6 this shouldn't be deleted
7 this shouldn't be deleted
8 this shouldn't be deleted (not touched yet)
STARTTEST
/^{/+1[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25h" Test with backspace set to the non-compatible setting
[?25l[?12l[?25h[?25l/[?12l[?25h^\d\+ this
[?25l[?12l[?25h[?25l:[?12l[?25hset bs=2
[?25l[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l[?12l[?25h[?25l-- INSERT --vim2[?12l[?25h[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset cpo-=<
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <c-u> <left><c-u>
[?25l[?12l[?25h[?25l-- INSERT --3[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hiunmap <c-u>
[?25l[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l[?12l[?25h
[?25l:[?12l[?25h" Test with backspace set to the compatible setting
[?25l[?12l[?25h[?25l:[?12l[?25hset bs=
[?25l[?12l[?25h[?25l-- INSERT --vim5[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l[?12l[?25h[?25l-- INSERT --vim6[?12l[?25h[?25l-- INSERT --zwei[?12l[?25h[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <c-u> <left><c-u>
[?25l[?12l[?25h[?25l-- INSERT --vim7[?12l[?25h[?25l[?12l[?25h
[?25l
:[?12l[?25hset noesckeys
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 21L, 356C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTESTj3J
:.,+2join
j3J
:.,+2join
jj3J
j:.,+2join
jj3J
j:.,+5join
j6J
oSome code!^M// Make sure backspacing does not remove this comment leader.^[0i^HH^[
ENDTEST
{
/*
* Make sure the previous comment leader is not removed.
*/
/*
* Make sure the previous comment leader is not removed.
*/[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^{/+1
[?25l[?12l[?25h[?25l:[?12l[?25hset comments=sO:*\ -,mO:*\ \ ,exO:*/
[?25l[?12l[?25h[?25l:[?12l[?25hset comments+=s1:/*,mb:*,ex:*/,://
[?25l[?12l[?25h[?25l:[?12l[?25hset comments+=s1:>#,mb:#,ex:#<,:<
[?25l[?12l[?25h[?25l:[?12l[?25hset cpoptions-=j joinspaces fo=j
[?25l[?12l[?25h[?25l:[?12l[?25hset backspace=eol,start
[?25l[?12l[?25h[?25l:[?12l[?25h.,+3join
[?25l/* Make sure the previous comment leader is not removed. *//* List:
* - item1
* foo bar baz[?12l[?25h
[?25l/* Make sure the previous comment leader is not removed. */* foo bar baz
* - item2
* foo bar baz[?12l[?25h
[?25l:[?12l[?25h.,+8join
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz *//* List:- item1 foo bar baz
* - item2[?12l[?25h
[?25l/* List: item1 foo bar baz foo bar baz item2 foo bar baz foo bar baz */// Should the next comment leader be left alone?
// Yes.// Should the next comment leader be left alone?[?12l[?25h
[?25l:[?12l[?25h.,+2join
[?25lShould the next comment leader be left alone? Yes.
// Yes.[?12l[?25h
[?25l// Should the next comment leader be left alone? Yes.* Here the comment leader should be left intact. */
// And so should this one.[?12l[?25h
[?25l
:[?12l[?25h.,+2join
[?25l/* Here the comment leader should be left intact. */ // And so should this one.* Here the comment leader should be left intact. */[?12l[?25h
[?25l/* Here the comment leader should be left intact. */ // And so should this one.[?12l[?25h
[?25l:[?12l[?25h.,+2join
[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();[?12l[?25h[?25l
[?12l[?25h[?25lif (condition) // Remove the next comment leader! OK, I will.
[?12l[?25h[?25l
action();
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+2join
[?25lint i = 7 /* foo *// 3 // comment
[?12l[?25h[?25l
;[?12l[?25h[?25l
[?12l[?25h[?25lint i = 7 /* foo *// 3 // comment
[?12l[?25h[?25l
;
[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h.,+5join
[?25l># Note that the last character of the ending comment leader (left angle bracket@ ># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.[?12l[?25h[?25l
[?12l[?25h[?25l># Note that the last character of the ending comment leader (left angle bracket@ ># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.[?12l[?25h[?25l
[?12l[?25h[?25l
-- INSERT --Some code!
// Make sure backspacing does not remove this comment leader.[?12l[?25h
[?25l
-- INSERT --// Make sure backspacing does not remove this comment leader.
}[?12l[?25h
[?25l
/^STARTTEST
STARTTEST[?12l[?25h[?25l
:g/^STARTTEST/.,/^ENDTEST/d
[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" 3L, 61C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST[?12l[?25h[?25l
:?firstline?+1,$w! test.out[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hg/^STARTTEST/.,/^ENDTEST/d
[?25l73 fewer lines// Should the next comment leader be left alone? Yes./* Here the comment leader should be left intact. */ // And so should this one.
/* Here the comment leader should be left intact. */ // And so should this one.
if (condition) // Remove the next comment leader! OK, I will.
action();if (condition) // Remove the next comment leader! OK, I will.
action();int i = 7 /* foo *// 3 // comment
;int i = 7 /* foo *// 3 // comment ;># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.># Note that the last character of the ending comment leader (left angle brackett) is a comment leader itself. Make sure that this comment leader is not removed from the next line #< < On this line a new comment is opened which spans 2 liness. This comment should retain its comment leader.
Some code!// Make sure backspacing does not remove this comment leader.
}[?12l[?25h[?25l:[?12l[?25h?firstline?+1,$w! test.out
[?25l"test.out" [New] 97L, 3018C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test30.failed test.ok test.out X* viminfo
cp test30.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test30.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test30.in" 217L, 3317C[>cTest for a lot of variations of the 'fileformats' option
Note: This test will fail if "cat" is not available.
STARTTEST
:so small.vim
:" first write three test files, one in each format
:set fileformat=unix
:set fileformats=
:/^1/w! XX1
:/^2/w! XX2
:/^3/w! XX3
:/^4/w! XX4
:/^5/w! XX5
:/^6/w! XX6
:/^7/w! XX7
:/^8/w! XX8
:/^9/w! XX9
:/^10/w! XX10
:/^unix/;/eof/-1w! XXUnix
:/^dos/;/eof/-1w! XXDos
:set bin noeol
:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for a lot of variations of the 'fileformats' option[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 190L, 3125C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1Go6^[:$r XXtt61
:$r XXtt62
:$r XXtt63
Go7^[:$r XXtt71
Go8^[:$r XXtt81
Go9^[:$r XXtt91
:$r XXtt92
:$r XXtt93
Go10^[:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST
1
2
3
4
5
6
7
8
9[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" first write three test files, one in each format
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=
[?25l[?12l[?25h[?25l:[?12l[?25h/^1/w! XX1
[?25l"XX1" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^2/w! XX2
[?25l"XX2" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^3/w! XX3
[?25l"XX3" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^4/w! XX4
[?25l"XX4" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^5/w! XX5
[?25l"XX5" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^6/w! XX6
[?25l"XX6" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^7/w! XX7
[?25l"XX7" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^8/w! XX8
[?25l"XX8" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^9/w! XX9
[?25l"XX9" [New] 1L, 2C written[?12l[?25h[?25l:[?12l[?25h/^10/w! XX10
[?25l"XX10" [New] 1L, 3C written[?12l[?25h[?25l:[?12l[?25h/^unix/;/eof/-1w! XXUnix
[?25l"XXUnix" [New] 2L, 10C written10
unix"XXUnix" [New] 2L, 10C written[?12l[?25h[?25l:[?12l[?25h/^dos/;/eof/-1w! XXDos
[?25l"XXDos" [New] 2L, 10C writtenunix
eof
dos^M"XXDos" [New] 2L, 10C written[?12l[?25h[?25l:[?12l[?25hset bin noeol
[?25l[?12l[?25h[?25l:[?12l[?25h$w! XXMac
[?25l"XXMac" [New][noeol] 1L, 8C written[?12l[?25h[?25l:[?12l[?25hset nobin eol
[?25l[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l3 buffers wiped out[?12l[?25h[?25l:[?12l[?25h" create mixed format files
[?25l[?12l[?25h[?25l:[?12l[?25hif has("win32")
[?25l
: [?12l[?25h: !copy /b XXUnix+XXDos XXUxDs
[?25l: [?12l[?25h: !copy /b XXUnix+XXMac XXUxMac
[?25l: [?12l[?25h: !copy /b XXDos+XXMac XXDosMac
[?25l: [?12l[?25h: !copy /b XXUnix+XXDos+XXMac XXUxDsMc
[?25l: [?12l[?25h:else
[?25l: [?12l[?25h: !cat XXUnix XXDos >XXUxDs
[?25l:!cat XXUnix XXDos >XXUxDs[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l: : !cat XXUnix XXMac >XXUxMac
:!cat XXUnix XXMac >XXUxMac[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l: : !cat XXDos XXMac >XXDosMac
:!cat XXDos XXMac >XXDosMac[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l: : !cat XXUnix XXDos XXMac >XXUxDsMc
:!cat XXUnix XXDos XXMac >XXUxDsMc[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l: :endif
[?12l[?25h[?25l:[?12l[?25h"
[?25l:$r XXtt93
Go10^[:$r XXUnix
:set nobinary ff&
:w
:qa!
ENDTEST
1
2
3
4
5
6
7
8
9
10
unix
unix
eof
dos^M
[?12l[?25h[?25l
:[?12l[?25h" try reading and writing with 'fileformats' empty
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" 2L, 10Cunixunix~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 2L, 10C written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" 2L, 10Cdos^M
dos^M[?12l[?25h[?25l:[?12l[?25hw! XXtt01
[?25l"XXtt01" [New] 2L, 10C written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [noeol] 1L, 8Cmacmac^M
~ [?12l[?25h[?25l:[?12l[?25hw! XXtt02
[?25l"XXtt02" [New] 1L, 9C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" 217L, 3317C
3 buffers wiped out
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset fileformat=dos
[?25l:qa!
ENDTEST12345678910unixunixeofdos^Mdos^Meofmac^Mmac^M[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" [CR missing][dos] 2L, 10Cunix
unix~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt11
[?25l"XXtt11" [New][dos] 2L, 12C written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" [dos] 2L, 10Cdosdos[?12l[?25h[?25l:[?12l[?25hw! XXtt12
[?25l"XXtt12" [New][dos] 2L, 10C written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [noeol][dos] 1L, 8Cmac^Mmac^M
~ [?12l[?25h[?25l:[?12l[?25hw! XXtt13
[?25l"XXtt13" [New][dos] 1L, 10C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [CR missing][dos] 217L, 3317C
3 buffers wiped out
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hset fileformat=mac
[?25l:qa!
ENDTEST12345678910unixunixeofdosdoseofmac^Jmac[?12l[?25h[?25l:[?12l[?25he! XXUnix
[?25l"XXUnix" [noeol][mac] 1L, 10Cunix^Junix^J
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt21
[?25l"XXtt21" [New][mac] 1L, 11C written[?12l[?25h[?25l:[?12l[?25he! XXDos
[?25l"XXDos" [noeol][mac] 3L, 10Cdos^Jdos^J[?12l[?25h[?25l:[?12l[?25hw! XXtt22
[?25l"XXtt22" [New][mac] 3L, 11C written[?12l[?25h[?25l:[?12l[?25he! XXMac
[?25l"XXMac" [mac] 2L, 8Cmac
mac~ [?12l[?25h[?25l:[?12l[?25hw! XXtt23
[?25l"XXtt23" [New][mac] 2L, 8C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUnix XXDos XXMac
[?25l"test30.in" [noeol][mac] 5L, 3317C
3 buffers wiped out
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25h"
[?25l^Jdos
^Jeof^J^Jmac
mac^J[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to one format
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunixdos^M
dos^M
mac^Mmac^M[?12l[?25h[?25l:[?12l[?25hw! XXtt31
[?25l"XXtt31" [New] 5L, 29C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol][CR missing][dos] 5L, 28Cunixunix
dosdos
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt32
[?25l"XXtt32" [New][dos] 5L, 32C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos] 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [mac] 4L, 28Cunix^Junix^Jdos^Jdos
^Jmacmac
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt33
[?25l"XXtt33" [New][mac] 4L, 28C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [noeol][mac] 5L, 3317C^Jdoseof^J^Jmac
mac^J[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to two formats
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunixdos^M
dos^M
mac^Mmac^M[?12l[?25h[?25l:[?12l[?25hw! XXtt41
[?25l"XXtt41" [New] 5L, 29C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxMac
[?25l"XXUxMac" [noeol] 3L, 18Cunixunix
mac^Mmac^M~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt42
[?25l"XXtt42" [New] 3L, 19C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxMac
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXDosMac
[?25l"XXDosMac" [noeol][dos] 3L, 18Cdodos
mac^Mmac^M~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt43
[?25l"XXtt43" [New][dos] 3L, 20C written[?12l[?25h[?25l:[?12l[?25hbwipe XXDosMac
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDs
[?25l"XXUxDs" 4L, 20Cunixunix
dos^Mdos^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt51
[?25l"XXtt51" [New] 4L, 20C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDs
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt52
[?25l"XXtt52" [New] 5L, 29C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXDosMac
[?25l"XXDosMac" [mac] 4L, 18Cdo^Jdos
^Jmacmac
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt53
[?25l"XXtt53" [New][mac] 4L, 18C written[?12l[?25h[?25l:[?12l[?25hbwipe XXDosMac
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDs
[?25l"XXUxDs" [CR missing][dos] 4L, 20Cunixunix
dosdos
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt61
[?25l"XXtt61" [New][dos] 4L, 22C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDs
[?25l"test30.in" [CR missing][dos] 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxMac
[?25l"XXUxMac" [noeol][CR missing][dos] 3L, 18Cunixunix
mac^Mmac^M~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt62
[?25l"XXtt62" [New][dos] 3L, 22C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxMac
[?25l"test30.in" [CR missing][dos] 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol][CR missing][dos] 5L, 28Cunixunix
dosdos
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt63
[?25l"XXtt63" [New][dos] 5L, 32C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" [CR missing][dos] 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" try reading and writing with 'fileformats' set to three formats
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=unix,dos,mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt71
[?25l"XXtt71" [New] 5L, 29C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=mac,dos,unix
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt81
[?25l"XXtt81" [New] 5L, 29C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25h" try with 'binary' set
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformats=mac,unix,dos
[?25l[?12l[?25h[?25l:[?12l[?25hset binary
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt91
[?25l"XXtt91" [New][noeol] 5L, 28C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=mac
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt92
[?25l"XXtt92" [New][noeol] 5L, 28C written[?12l[?25h[?25l:[?12l[?25hbwipe XXUxDsMc
[?25l"test30.in" 217L, 3317CTest for a lot of variations of the 'fileformats' optionNote: This test will fail if "cat" is not available.STARTTEST:so small.vim:" first write three test files, one in each format:set fileformat=unix:set fileformats=:/^1/w! XX1:/^2/w! XX2:/^3/w! XX3:/^4/w! XX4:/^5/w! XX5:/^6/w! XX6:/^7/w! XX7:/^8/w! XX8:/^9/w! XX9:/^10/w! XX10:/^unix/;/eof/-1w! XXUnix:/^dos/;/eof/-1w! XXDos:set bin noeol:$w! XXMac[?12l[?25h[?25l:[?12l[?25hset fileformats=dos
[?25l[?12l[?25h[?25l:[?12l[?25he! XXUxDsMc
[?25l"XXUxDsMc" [noeol] 5L, 28Cunixunix
dos^Mdos^M
mac^Mmac^M
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw! XXtt93
[?25l"XXtt93" [New][noeol] 5L, 28C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Append "END" to each file so that we can see what the last written char was.
[?25l[?12l[?25h[?25l:[?12l[?25hset fileformat=unix nobin
[?25l[?12l[?25h[?25l~ ~ ~ ~ --No lines in buffer--[?12l[?25h[?25l-- INSERT --END[?12l[?25h[?25l:[?12l[?25hw >>XXtt01
[?25l"XXtt01" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt02
[?25l"XXtt02" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt11
[?25l"XXtt11" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt12
[?25l"XXtt12" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt13
[?25l"XXtt13" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt21
[?25l"XXtt21" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt22
[?25l"XXtt22" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt23
[?25l"XXtt23" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt31
[?25l"XXtt31" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt32
[?25l"XXtt32" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt33
[?25l"XXtt33" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt41
[?25l"XXtt41" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt42
[?25l"XXtt42" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt43
[?25l"XXtt43" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt51
[?25l"XXtt51" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt52
[?25l"XXtt52" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt53
[?25l"XXtt53" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt61
[?25l"XXtt61" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt62
[?25l"XXtt62" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt63
[?25l"XXtt63" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt71
[?25l"XXtt71" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt81
[?25l"XXtt81" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt91
[?25l"XXtt91" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt92
[?25l"XXtt92" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25hw >>XXtt93
[?25l"XXtt93" 1L, 4C appended[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Concatenate the results.
[?25l[?12l[?25h[?25l:[?12l[?25h" Make fileformat of test.out the native fileformat.
[?25l[?12l[?25h[?25l:[?12l[?25h" Add a newline at the end.
[?25l[?12l[?25h[?25l:[?12l[?25hset binary
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 2L, 10Cunix
unix[?12l[?25h[?25l:[?12l[?25h$r XXtt01
[?25l"XXtt01" 3L, 14Cdos^Mdos^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt02
[?25l"XXtt02" 2L, 13Cmac^Mmac^MEND[?12l[?25h
[?25l-- INSERT --1[?12l[?25h[?25l:[?12l[?25h$r XXtt11
[?25l"XXtt11" 3L, 16Cunix^Munix^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt12
[?25l"XXtt12" 3L, 14Cdos^Mdos^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt13
[?25l"XXtt13" 2L, 14Cmac^Mmac^M^MEND[?12l[?25h
[?25l-- INSERT --2[?12l[?25h[?25l:[?12l[?25h$r XXtt21
[?25l"XXtt21" 3L, 15Cunixunix^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt22
[?25l"XXtt22" 3L, 15Cdos^Mdos^M^MEND[?12l[?25h[?25l:[?12l[?25h$r XXtt23
[?25l"XXtt23" 1L, 12C
mac^Mmac^MEND[?12l[?25h[?25l
-- INSERT --
3[?12l[?25h[?25l
:[?12l[?25h$r XXtt31
[?25l"XXtt31" 6L, 33C
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt32
[?25l"XXtt32" 6L, 36Cunix
dos^M
dos^M
mac^Mmac^M
END
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt33
[?25l"XXtt33" 5L, 32Cunix^M
dos^M
dos^M
mac^Mmac^M^M
END
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^MEND
[?12l[?25h[?25l
-- INSERT --
4[?12l[?25h[?25l
:[?12l[?25h$r XXtt41
[?25l"XXtt41" 6L, 33C
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt42
[?25l"XXtt42" 4L, 23Cunix
dos^M
dos^M
mac^Mmac^M
END
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt43
[?25l"XXtt43" 4L, 24Cunix
mac^Mmac^M
END
dos^M[?12l[?25h[?25ldos^M
mac^Mmac^M^M
END
[?12l[?25h[?25l
-- INSERT --
5[?12l[?25h[?25l
:[?12l[?25h$r XXtt51
[?25l"XXtt51" 5L, 24C
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt52
[?25l"XXtt52" 6L, 33Cunix
dos^M
dos^M
END
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt53
[?25l"XXtt53" 3L, 22Cunix
dos^M
dos^M
mac^Mmac^M
END
dos^M[?12l[?25h[?25ldos^M
mac^Mmac^MEND
[?12l[?25h[?25l
-- INSERT --
6[?12l[?25h[?25l
:[?12l[?25h$r XXtt61
[?25l"XXtt61" 5L, 26C
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt62
[?25l"XXtt62" 4L, 26Cunix^M
dos^M
dos^M
END
unix^M[?12l[?25h[?25l
:[?12l[?25h$r XXtt63
[?25l"XXtt63" 6L, 36Cunix^M
mac^Mmac^M^M
END
unix^M[?12l[?25h[?25lunix^M
dos^M
dos^M
mac^Mmac^M^M
END
[?12l[?25h[?25l
-- INSERT --
7[?12l[?25h[?25l
:[?12l[?25h$r XXtt71
[?25l"XXtt71" 6L, 33C
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^M
END
[?12l[?25h[?25l
-- INSERT --
8[?12l[?25h[?25l
:[?12l[?25h$r XXtt81
[?25l"XXtt81" 6L, 33C
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^M
END
[?12l[?25h[?25l
-- INSERT --
9[?12l[?25h[?25l
:[?12l[?25h$r XXtt91
[?25l"XXtt91" 5L, 32C
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt92
[?25l"XXtt92" 5L, 32Cunix
dos^M
dos^M
mac^Mmac^MEND
unix[?12l[?25h[?25l
:[?12l[?25h$r XXtt93
[?25l"XXtt93" 5L, 32Cunix
dos^M
dos^M
mac^Mmac^MEND
unix[?12l[?25h[?25lunix
dos^M
dos^M
mac^Mmac^MEND
[?12l[?25h[?25l
-- INSERT --
10:[?12l[?25h [?25l[?12l[?25h[?25l
:$r XXUnix
"XXUnix" 2L, 10C
unix[?12l[?25h[?25l
:[?12l[?25hset nobinary ff&
[?25l[?12l[?25h[?25l:[?12l[?25hw
[?25l"test.out" 121L, 664C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l
# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test31.failed test.ok test.out X* viminfo
cp test31.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test31.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test31.in" 75L, 1545C[>cTest for commands that close windows and/or buffers:
:quit
:close
:hide
:only
:sall
:all
:ball
:buf
:edit
STARTTEST
:so tiny.vim
GA 1^[:$w! Xtest1
$r2:$w! Xtest2
$r3:$w! Xtest3
:n! Xtest1 Xtest2
A 1^[:set hidden
:" test for working :n when hidden set; write "testtext 2"
:n
:w! test.out
:" test for failing :rew when hidden not set; write "testtext 2 2"
:set nohidden[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for commands that close windows and/or buffers:[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 60L, 1410C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:set hidden
:e Xtest1
:w >>test.out
:" test ":close" not hiding when 'hidden' not set in modified buffer;
:" write "testtext 3 3 3"
:sp Xtest3
:set nohidden
A 3^[:close
:w >>test.out
:" test ":close!" does hide when 'hidden' not set in modified buffer;
:" write "testtext 1"
A 3^[:close!
:w >>test.out
:set nohidden
:" test ":all!" hides changed buffer; write "testtext 2 2 2"
:sp Xtest4
GA 4^[:all!
:1wincmd w
:w >>test.out
:qa!
ENDTEST
testtext[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso tiny.vim
[?25l[?12l[?25h
[?25l
-- INSERT --1[?12l[?25h[?25l
:[?12l[?25h$w! Xtest1
[?25l"Xtest1" [New] 1L, 11C written[?12l[?25h[?25l2[?12l[?25h[?25l:[?12l[?25h$w! Xtest2
[?25l"Xtest2" [New] 1L, 11C written[?12l[?25h[?25l3[?12l[?25h[?25l:[?12l[?25h$w! Xtest3
[?25l"Xtest3" [New] 1L, 11C written[?12l[?25h[?25l:[?12l[?25hn! Xtest1 Xtest2
[?25l"Xtest1" 1L, 11Ctesttext 1~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25h" test for working :n when hidden set; write "testtext 2"
[?25l[?12l[?25h[?25l:[?12l[?25hn
[?25l"Xtest2" 1L, 11C2[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" [New] 1L, 11C written[?12l[?25h[?25l:[?12l[?25h" test for failing :rew when hidden not set; write "testtext 2 2"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l-- INSERT --2[?12l[?25h[?25l:[?12l[?25hrew
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 13C appended[?12l[?25h[?25l:[?12l[?25h" test for working :rew when hidden set; write "testtext 1 1"
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25hrew
[?25l"Xtest1" [Modified] line 1 of 1 --100%-- col 1 (1 of 2)1 1
[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 13C appended[?12l[?25h[?25l:[?12l[?25h" test for :all keeping a buffer when it's modified; write "testtext 1 1 1"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l:[?12l[?25hsp
[?25lXtest1 [+] testtext 1 1 1Xtest1 [+] [?12l[?25h[?25l:[?12l[?25hn Xtest2 Xtest3
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (1 of 2)2 22 [?12l[?25h[?25l:[?12l[?25hall
[?25l"Xtest3" 1L, 11Ctesttext 1 1 1
~ ~ ~ ~ ~ ~ Xtest1 [+] testtext 2 2
~ ~ ~ ~ ~ Xtest2 [+] testtext 3
~ ~ ~ ~ ~ ~ Xtest3 [?12l[?25h[?25l:[?12l[?25h1wincmd w
[?25lXtest1 [+] Xtest2 [+]  [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 15C appended[?12l[?25h[?25l:[?12l[?25h" test abandoning changed buffer, should be unloaded even when 'hidden' set
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 2 2" twice
[?25l[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l:[?12l[?25hq!
[?25ltesttext 2 2
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Xtest2 [+] testtext 3
~ ~ ~ ~ ~ ~ ~ ~ ~ Xtest3 [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 13C appended[?12l[?25h[?25l:[?12l[?25hunhide
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 13C appended[?12l[?25h[?25l:[?12l[?25h" test ":hide" hides anyway when 'hidden' not set; write "testtext 3"
[?25l[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l-- INSERT --2[?12l[?25h[?25l:[?12l[?25hhide
[?25l3~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25h" test ":edit" failing in modified buffer when 'hidden' not set
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 3 3"
[?25l[?12l[?25h[?25l-- INSERT --3[?12l[?25h[?25l:[?12l[?25he Xtest1
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 13C appended[?12l[?25h[?25l:[?12l[?25h" test ":edit" working in modified buffer when 'hidden' set; write "testtext 1
"[?25ltesttext 3 3[?12l[?25h[?25l:[?12l[?25hset hidden
[?25l[?12l[?25h[?25l:[?12l[?25he Xtest1
[?25l"Xtest1" 1L, 11C1[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25h" test ":close" not hiding when 'hidden' not set in modified buffer;
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 3 3 3"
[?25l[?12l[?25h[?25l:[?12l[?25hsp Xtest3
[?25l"Xtest3" [Modified] line 1 of 1 --100%-- col 1 (2 of 2)3 3Xtest3 [+] testtext 1Xtest1 [?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l-- INSERT --3[?12l[?25h[?25l:[?12l[?25hclose
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 15C appended[?12l[?25h[?25l:[?12l[?25h" test ":close!" does hide when 'hidden' not set in modified buffer;
[?25l[?12l[?25h[?25l:[?12l[?25h" write "testtext 1"
[?25l[?12l[?25h[?25l-- INSERT --3[?12l[?25h[?25l:[?12l[?25hclose!
[?25l1~ ~ ~ [?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hset nohidden
[?25l[?12l[?25h[?25l:[?12l[?25h" test ":all!" hides changed buffer; write "testtext 2 2 2"
[?25l[?12l[?25h[?25l:[?12l[?25hsp Xtest4
[?25l"Xtest4" [New File]Xtest4 testtext 1Xtest1 [?12l[?25h[?25l-- INSERT --4[+][?12l[?25h[?25l:[?12l[?25hall!
[?25l"Xtest2" [Modified] line 1 of 1 --100%-- col 1 (1 of 2)32testtext 2 2 2Xtest2 [+] testtext 3 3 3 3~ 3 [+][?12l[?25h[?25l:[?12l[?25h1wincmd w
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" 1L, 15C appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test32.failed test.ok test.out X* viminfo
cp test32.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test32.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test32.in" 60L, 1368C[>cTest for insert expansion
:se cpt=.,w
* add-expands (word from next line) from other window
* add-expands (current buffer first)
* Local expansion, ends in an empty line (unless it becomes a global expansion)
* starts Local and switches to global add-expansion
:se cpt=.,w,i
* i-add-expands and switches to local
* add-expands lines (it would end in an empty line if it didn't ignored it self):se cpt=kXtestfile
* checks k-expansion, and file expansion (use Xtest11 instead of test11,
* because TEST11.OUT may match first on DOS)
:se cpt=w
* checks make_cyclic in other window
:se cpt=u nohid
* checks unloaded buffer expansion
* checks adding mode abortion
:se cpt=t,d
* tag expansion, define add-expansion interrupted
* t-expansion
STARTTEST[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for insert expansion[?12l[?25h[?25l/^STARTTEST
[?12l[?25h[?25l
:so small.vim[?12l[?25h[?25l
:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 27L, 510C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l
/ENDTEST/+-1O^N^[IX^[A^X^F^N^[
:" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
:" CTRL-X CTRL-F again to verify this doesn't cause trouble.
OX^X^F^H^H^H^H^H^H^H^H^X^F^[ddk
:se cpt=w
OST^N^P^P^P^P^[
:se cpt=u nohid
^WoOEN^N
unl^N^X^X^P^[
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D
a^N^[
:wq! test.out
ENDTEST
start of testfile
run1
run2
end of testfile
test11 36Gepeto/Tag/
asd test11file 36G
Makefileto run[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hse cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
[?25l"Xtestfile"[New] 3L, 57C written[?12l[?25h[?25l:[?12l[?25hse cot=
[?25l[?12l[?25h[?25l~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [No Name] ^WoOEN^Nunl^N^X^X^P^[
:se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
O^X^]^X^D^X^D^X^X^D^X^D^X^D^X^D
a^N^[
:wq! test.out
ENDTESTstart of testfilerun1test32.in [?12l[?25h[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) match 1 of 4match in file test32.in^-- Keyword completion (^N^P) match 2 of 4-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Adding Keyword completion (^N^P) Word from other line#include "Xtestfile"
run1 run2[+][?12l[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?12l[?25h[?25l3[?12l[?25h
[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) match 1 of 112-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Adding Keyword completion (^N^P) Word from other line-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 4. match 2 of 4 match 3 of 4 match 4 of 4 Back at original-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 4. match 2 of 4-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino-- Adding Keyword completion (^N^P) match 1 of 2match in file test32.ine-- Adding Keyword completion (^N^P) Word from other linerun3 run3
run1 run2[?12l[?25h[?25l-- Adding Keyword completion (^N^P) Word from other line-- INSERT --[?12l[?25h
[?25l:[?12l[?25hse cpt=.,w,i
[?25l[?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Adding Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Adding Keyword completion (^N^P) -- Searching...
Scanning: test32.ino included file: Xtestfile
match in file test32.in-- Adding Keyword completion (^N^P) The only match-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword Local completion (^N^P) -- Searching...match 1 of 3.-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Whole line completion (^L^N^P)^ U-- Searching...
Scanning: test32.ine-- Whole line completion (^L^N^P) match 1 of 57INSERT --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 57Addinge Whole line completion (^L^N^P) -- Searching...
Scanning: test32.ine-- Adding Whole line completion (^L^N^P) The only match Back at original The only matchMakefileto run3
Makefileto run3
Makefileto run3[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=kXtestfile
[?25l[?12l[?25h[?25l:[?12l[?25hw Xtest11.one
[?25l"Xtest11.one" [New] 9L, 104C writtenXtest11.one+ [?12l[?25h[?25l:[?12l[?25hw Xtest11.two
[?25l"Xtest11.two" [New] 9L, 104C written[?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning dictionary: Xtestfile-match in file Xtestfile-- Keyword completion (^N^P) match 1 of 9test11[+]I[?12l[?25h [?25l-- Keyword completion (^N^P) match 1 of 9-- INSERT --[?12l[?25h[?25l-- INSERT --Xtest11
[?12l[?25h[?25l-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 2. match 2 of 2.two[?12l[?25h[?25l-- INSERT --[?12l[?25h[?25l:[?12l[?25h" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
[?25l[?12l[?25h[?25l:[?12l[?25h" CTRL-X CTRL-F again to verify this doesn't cause trouble.
[?25l[?12l[?25h[?25l-- INSERT --^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 4.INSERTa -- -- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- File name completion (^F^N^P)s ^-- Searching...match 1 of 194.
Makefilerun1 run2d[?12l[?25h [?25l-- INSERT --[?12l[?25h[?25l
run1 run2~ [?12l[?25h
[?25l:[?12l[?25hse cpt=w
[?25l[?12l[?25h[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only match Back at originalmatch in file test32.in^-- Keyword completion (^N^P) The only match Back at originalmatch in file test32.in^-- Keyword completion (^N^P) The only match
STARTTEST
run1 run2[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=u nohid
[?25l[?12l[?25h[?25l
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only match-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) match 1 of 3-- INSERT --
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- INSERTe --^Keyword completion (^N^P) -- Searching...
Scanning: test32.inomatch in file test32.in
-- Keyword completion (^N^P) The only matchENDTEST
unless[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h[?25l:[?12l[?25hse cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
[?25l[?12l[?25h[?25l-- INSERT --^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Tag completion (^]^N^P)^ N-- Searching...match 1 of 3.INSERTm --e-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) match 1 of 3Definition completion (^D^N^P)^ U-- Searching...Scanning included file: Xtestfile match in file Xtestfile-- Definition completion (^D^N^P) The only matchINSERTt --n-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- INSERTe --^^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- Definition completion (^D^N^P)^ U-- Searching...
Scanning included file: Xtestfile match in file Xtestfile-- Definition completion (^D^N^P) The only matchINSERTt --n-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) The only matchINSERT --f-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y) The only match
-- Addinge Definition completion (^D^N^P) -- Searching...
Scanning included file: Xtestfile^match in file Xtestfile-- Adding Definition completion (^D^N^P) Word from other lineINSERT --f-- Keyword completion (^N^P) -- Searching...
Scanning tags.pincluded file: Xtestfile
-- Keyword completion (^N^P) The only matchtest11file 36Gepeto/Tag/ asd
asd[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h
ru[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New] 15L, 175C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test34.failed test.ok test.out X* viminfo
cp test34.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test34.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test34.in" 87L, 1833C[>cTest for user functions.
Also test an <expr> mapping calling a function.
Also test that a builtin function cannot be replaced.
Also test for regression when calling arbitrary expression.
STARTTEST
:so small.vim
:function Table(title, ...)
: let ret = a:title
: let idx = 1
: while idx <= a:0
: exe "let ret = ret . a:" . idx
: let idx = idx + 1
: endwhile
: return ret
:endfunction
:function Compute(n1, n2, divname)
: if a:n2 == 0
: return "fail"
: endif
: exe "let g:" . a:divname . " = ". a:n1 / a:n2
: return "ok"
:endfunction[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for user functions.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 78L, 1621C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?
: " Second is here just to prove that this line is correct when not skipping
: " rhs of &&.
: $put =(0&&(function('tr'))(1, 2, 3))
: $put =(1&&(function('tr'))(1, 2, 3))
:catch
: $put ='!!! Unexpected exception:'
: $put =v:exception
:endtry
:$-9,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem
:delfunc ListReset
:unlet retval counter
:q!
ENDTEST
here[?12l[?25h
[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hfunction Table(title, ...)
[?25l
: [?12l[?25h: let ret = a:title
[?25l: [?12l[?25h: let idx = 1
[?25l: [?12l[?25h: while idx <= a:0
[?25l: [?12l[?25h: exe "let ret = ret . a:" . idx
[?25l: [?12l[?25h: let idx = idx + 1
[?25l: [?12l[?25h: endwhile
[?25l: [?12l[?25h: return ret
[?25l: [?12l[?25h:endfunction
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?
: " Second is here just to prove that this line is correct when not skipping
: " rhs of &&.
: $put =(0&&(function('tr'))(1, 2, 3))
: $put =(1&&(function('tr'))(1, 2, 3))
:catch[?12l[?25h[?25l
:[?12l[?25hfunction Compute(n1, n2, divname)
[?25l
: [?12l[?25h: if a:n2 == 0
[?25l: [?12l[?25h: return "fail"
[?25l: [?12l[?25h: endif
[?25l: [?12l[?25h: exe "let g:" . a:divname . " = ". a:n1 / a:n2
[?25l: [?12l[?25h: return "ok"
[?25l: [?12l[?25h:endfunction
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?
: " Second is here just to prove that this line is correct when not skipping
: " rhs of &&.
: $put =(0&&(function('tr'))(1, 2, 3))[?12l[?25h[?25l
:[?12l[?25hfunc Expr1()
[?25l
: [?12l[?25h: normal! v
[?25l: [?12l[?25h: return "111"
[?25l: [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l
:[?12l[?25hfunc Expr2()
[?25l
: [?12l[?25h: call search('XX', 'b')
[?25l: [?12l[?25h: return "222"
[?25l: [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l
:[?12l[?25hfunc ListItem()
[?25l
: [?12l[?25h: let g:counter += 1
[?25l: [?12l[?25h: return g:counter . '. '
[?25l: [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l
:[?12l[?25hfunc ListReset()
[?25l
: [?12l[?25h: let g:counter = 0
[?25l: [?12l[?25h: return ''
[?25l: [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l
:[?12l[?25hfunc FuncWithRef(a)
[?25l
: [?12l[?25h: unlet g:FuncRef
[?25l: [?12l[?25h: return a:a
[?25l: [?12l[?25h:endfunc
[?25l:call append(line('$'), max([1, 2, 3]))
:try
: " Regression: the first line below used to throw ?E110: Missing ')'?[?12l[?25h[?25l
:[?12l[?25hlet g:FuncRef=function("FuncWithRef")
[?25l[?12l[?25h[?25l:[?12l[?25hlet counter = 0
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <expr> ( ListItem()
[?25l[?12l[?25h[?25l:[?12l[?25hinoremap <expr> [ ListReset()
[?25l[?12l[?25h[?25l:[?12l[?25himap <expr> + Expr1()
[?25l[?12l[?25h[?25l:[?12l[?25himap <expr> * Expr2()
[?25l[?12l[?25h[?25l:[?12l[?25hlet retval = "nop"
[?25l[?12l[?25h[?25l/[?12l[?25h^here
[?25l[?12l[?25h[?25l
-- INSERT --=[?12l[?25hTable("xxx", 4, "asdf")
[?25l=[?12l[?25hCompute(45, 0, "retval")
[?25l=[?12l[?25hretval
[?25l=[?12l[?25hCompute(45, 5, "retval")
[?25l=[?12l[?25hretval
[?25l=[?12l[?25hg:FuncRef(333)
[?25lError detected while processing function Expr1:
line 1:
E523: Not allowed here
Press ENTER or type command to continue[?12l[?25h[?25l: $put =(0&&(function('tr'))(1, 2, 3))
: $put =(1&&(function('tr'))(1, 2, 3))
:catch
: $put ='!!! Unexpected exception:'$put =v:exception
:endtry$-9,$w! test.outdelfunc Table
:delfunc Computedelfunc Expr1delfunc Expr2
:delfunc ListItemListReset
:unlet retval counter
:q!ENDTESTxxx4asdf fail nop ok 9 333
XX111-XX---222---
1. one2. two-- INSERT --[?12l[?25h[?25l1. one again[?12l[?25h[?25l
:[?12l[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?12l[?25h[?25l:[?12l[?25hcall extend(g:, {'max': function('min')})
[?25lE704: Funcref variable name must start with a capital: max[?12l[?25h[?25l:[?12l[?25hcall append(line('$'), max([1, 2, 3]))
[?25l[?12l[?25h[?25l:[?12l[?25htry
[?25l
: [?12l[?25h: " Regression: the first line below used to throw ?E110: Missing ')'?
[?25l: [?12l[?25h: " Second is here just to prove that this line is correct when not skipp
ing
[?25l: [?12l[?25h: " rhs of &&.
[?25l: [?12l[?25h: $put =(0&&(function('tr'))(1, 2, 3))
[?25l: [?12l[?25h: $put =(1&&(function('tr'))(1, 2, 3))
[?25l: [?12l[?25h:catch
[?25l: [?12l[?25h: $put ='!!! Unexpected exception:'
[?25l: [?12l[?25h: $put =v:exception
[?25l: [?12l[?25h:endtry
[?25l: $put =v:exception
:endtry
:$-9,$w! test.out
:delfunc Table
:delfunc Compute
:delfunc Expr1
:delfunc Expr2
:delfunc ListItem
:delfunc ListReset
:unlet retval counter
:q!ENDTESTxxx4asdf fail nop ok 9 333
XX111-XX
---222---
1. one
2. two1. one again
330[?12l[?25h[?25l
:[?12l[?25h$-9,$w! test.out
[?25l"test.out" [New] 10L, 81C written[?12l[?25h[?25l:[?12l[?25hdelfunc Table
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Compute
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Expr1
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc Expr2
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc ListItem
[?25l[?12l[?25h[?25l:[?12l[?25hdelfunc ListReset
[?25l[?12l[?25h[?25l:[?12l[?25hunlet retval counter
[?25l[?12l[?25h[?25l:[?12l[?25hq!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test36.failed test.ok test.out X* viminfo
cp test36.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test36.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test36.in" [converted] 105L, 1960C[>cTest character classes in regexp using regexpengine 0, 1, 2.
STARTTEST
/^start-here/+1
Y:s/\%#=0\d//g
p:s/\%#=1\d//g
p:s/\%#=2\d//g
p:s/\%#=0[0-9]//g
p:s/\%#=1[0-9]//g
p:s/\%#=2[0-9]//g
p:s/\%#=0\D//g
p:s/\%#=1\D//g
p:s/\%#=2\D//g
p:s/\%#=0[^0-9]//g
p:s/\%#=1[^0-9]//g
p:s/\%#=2[^0-9]//g
p:s/\%#=0\o//g
p:s/\%#=1\o//g
p:s/\%#=2\o//g
p:s/\%#=0[0-7]//g
p:s/\%#=1[0-7]//g
p:s/\%#=2[0-7]//g
p:s/\%#=0\O//g[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest character classes in regexp using regexpengine 0, 1, 2.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [converted][New] 98L, 1775C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1p:s/\%#=1\L//g
p:s/\%#=2\L//g
p:s/\%#=0[^a-z]//g
p:s/\%#=1[^a-z]//g
p:s/\%#=2[^a-z]//g
p:s/\%#=0\u//g
p:s/\%#=1\u//g
p:s/\%#=2\u//g
p:s/\%#=0[A-Z]//g
p:s/\%#=1[A-Z]//g
p:s/\%#=2[A-Z]//g
p:s/\%#=0\U//g
p:s/\%#=1\U//g
p:s/\%#=2\U//g
p:s/\%#=0[^A-Z]//g
p:s/\%#=1[^A-Z]//g
p:s/\%#=2[^A-Z]//g
:/^start-here/+1,$wq! test.out
ENDTEST
start-here^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l/[?12l[?25h^start-here/+1
[?25l[?12l[?25h[?25l:[?12l[?25hs/\%#=0\d//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\d//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\d//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[0-9]//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[0-9]//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[0-9]//g
[?25l10 substitutions on 1 line:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><82>><90><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\D//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\D//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\D//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[^0-9]//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^0-9]//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^0-9]//g
[?25l72 substitutions on 1 line0123456789~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\o//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\o//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\o//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0[0-7]//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=1[0-7]//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2[0-7]//g
[?25l8 substitutions on 1 line89:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~^?<80><882><90><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0\O//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=1\O//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\O//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=0[^0-7]//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^0-7]//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^0-7]//g
[?25l74 substitutions on 1 line01234567~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\x//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\x//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\x//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0[0-9A-Fa-f]//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=1[0-9A-Fa-f]//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2[0-9A-Fa-f]//g
[?25l22 substitutions on 1 line:;<=>?@GHIXYZ[\]^_`ghiwxyz{|}~^?<80><82><90><9b>¦±¼Ç Óé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=1\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\X//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=0[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^0-9A-Fa-f]//g
[?25l60 substitutions on 1 line0123456789ABCDEFabcdef~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\w//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\w//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\w//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[0-9A-Za-z_]//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=1[0-9A-Za-z_]//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=2[0-9A-Za-z_]//g
[?25l36 substitutions on 1 line:;<=>?@[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=1\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\W//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=0[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=2[^0-9A-Za-z_]//g
[?25l46 substitutions on 1 line0123456789ABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0\h//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=1\h//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\h//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=0[A-Za-z_]//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[A-Za-z_]//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[A-Za-z_]//g
[?25l26 substitutions on 1 line[\]^`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\H//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^A-Za-z_]//g
[?25l56 substitutions on 1 lineABCDEFGHIXYZ_abcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\a//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\a//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\a//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[A-Za-z]//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[A-Za-z]//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[A-Za-z]//g
[?25l25 substitutions on 1 line[\]^_`{|}~^?<80><82><90><9b>¦±¼ÇÓé~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\A//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^A-Za-z]//g
[?25l57 substitutions on 1 lineABCDEFGHIXYZabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\l//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\l//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\l//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[a-z]//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[a-z]//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[a-z]//g
[?25l13 substitutions on 1 line{|}~^?<80><82><900><9b>¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2\L//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^a-z]//g
[?25l69 substitutions on 1 lineabcdefghiwxyz~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=0\u//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1\u//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\u//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0[A-Z]//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=1[A-Z]//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2[A-Z]//g
[?25l12 substitutions on 1 line[\]^_`abcdefghiwxyz{|}~^?<80><82><990><9b¦±¼ÇÓé[?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=0\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=1\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé
~ [?12l[?25h[?25l
:[?12l[?25hs/\%#=2\U//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l
^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l:[?12l[?25hs/\%#=0[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=1[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l
 ^L^M !"#$%&'()#+'-./0123456789:;<=>?@ABCDEFGHIXYZ[\]^_`abcdefghiwxyz{|}~~^?<80><82><90><9b>¦±¼ÇÓé[?12l[?25h[?25l
:[?12l[?25hs/\%#=2[^A-Z]//g
[?25l70 substitutions on 1 lineABCDEFGHIXYZ~ [?12l[?25h[?25l:[?12l[?25h/^start-here/+1,$wq! test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" [converted][New] 96L, 4512C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test37.failed test.ok test.out X* viminfo
cp test37.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test37.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test37.in" 116L, 3262C[>cTest for 'scrollbind'. <eralston@computer.org> Do not add a line below!
STARTTEST
:so small.vim
:set noscrollbind
:set scrollopt=ver,jump
:set scrolloff=2
:set nowrap
:set noequalalways
:set splitbelow
:" TEST using two windows open to one buffer, one extra empty window
:split
:new
^Wt:
:resize 8
/^start of window 1$/
zt:
:set scrollbind
^Wj:
:resize 7
/^start of window 2$/
zt:
:set scrollbind
:" -- start of tests --[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for 'scrollbind'. <eralston@computer.org> Do not add a line below![?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 72L, 1498C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1G^WjG:syncbind
Hk^WtH^WjHyy^Wbp^Wtyy^Wbp:
^Wt:set noscb
ggL^Wj:set noscb
ggL:set scb
^Wt:set scb
^WtG^WjG^Wt:syncbind
Hk^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
^WtH3k^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out" Write contents of this file
:qa!
ENDTEST
start of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt=ver,jump
[?25l[?12l[?25h[?25l:[?12l[?25hset scrolloff=2
[?25l[?12l[?25h[?25l:[?12l[?25hset nowrap
[?25l[?12l[?25h[?25l:[?12l[?25hset noequalalways
[?25l[?12l[?25h[?25l:[?12l[?25hset splitbelow
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST using two windows open to one buffer, one extra empty window
[?25l[?12l[?25h[?25l:[?12l[?25hsplit
[?25lHk^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
^WtH3k^WtHyybp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out " Write contents of this file
:qa!ENDTESTstart of window 1. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
test37.in ^WtG^WjG^Wt:syncbind
Hk^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
^WtH3k^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp:
:" ***** done with tests *****
:w! test.out " Write contents of this file
:qa!ENDTESTstart of window 111
test37.in [?12l[?25h[?25l:[?12l[?25hnew
[?25l:" ***** done with tests *****
:w! test.out " Write contents of this file
:qa!ENDTESTtest37.in ~ ~ ~ ~ [No Name] [?12l[?25htest37.in [No Name]  [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hresize 8
[?25l^WtH3kjH^WtHyybp^Wt^Wjyy^Wbp:
:" ***** done with tests *****w! test.out " Write contents of this file
:qa!ENDTESTstart of window 1
test37.in ^WtH3k^WjH^WtHyy^Wbp^Wt^Wjyy^Wbp::" ***** done with tests *****w! test.out " Write contents of this file
:qa!ENDTEST[?12l[?25h[?25l/[?12l[?25h^start of window 1$/
[?25l. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25htest37.in  test37.in [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hresize 7
[?25l[?12l[?25h[?25l/[?12l[?25h^start of window 2$/
[?25lend of window 1start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03[?12l[?25h[?25l
. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h" -- start of tests --
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling down
[?25l[?12l[?25h
[?25l. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09[?12l[?25htest37.in  [No Name] [?25l
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[+][?12l[?25h[?25l0[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05[?12l[?25h[?25l1[?12l[?25htest37.in [No Name] [+]  
[?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
end of window 1. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15[?12l[?25htest37.in  [No Name] [+] [?25l
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l2[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l3[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling up
[?25l[?12l[?25htest37.in [No Name] [+]  [?25l. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08440505060607070808090900[?12l[?25htest37.in  test37.in test37.in test37.in  test37.in  [No Name] [+] [?25l
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?12l[?25h[?25l4[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?12l[?25h[?25l5[?12l[?25htest37.in [No Name] [+]  [?25lstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?12l[?25htest37.in test37.in  test37.in  test37.in test37.in  [No Name] [+] [?25l
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?12l[?25h[?25l6[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l7[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST horizontal scrolling
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt+=hor
[?25l[?12l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l4 line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
5 line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25htest37.in [No Name] [+]  [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0656789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06[?12l[?25htest37.in  [No Name] [+] [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25htest37.in [No Name] [+]  [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415UTSRQPONMLKJIHGREDCBA9876543210 09101112131415[?12l[?25h[?25l. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
end of window 1
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15[?12l[?25h[?25l[?12l[?25htest37.in  [No Name] [+] [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l
[?12l[?25htest37.in [No Name] [+]  
test37.in  [No Name] [+] [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt-=hor
[?25l[?12l[?25h[?25l:[?12l[?25h" ****** tests using two different buffers *****
[?25l[?12l[?25htest37.in [No Name] [+]  test37.in  test37.in [?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hclose
[?25lstart of window 20000000000[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset noscrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h/^start of window 2$/,/^end of window 2$/y
[?25l18 lines yanked[?12l[?25h[?25l:[?12l[?25hnew
[?25ltest37.in ~ ~ ~ ~ ~ ~ ~ [No Name] [?12l[?25htest37.in [No Name]  test37.in  [No Name] [?25l4 more lines[+][?12l[?25h
[?25l18 more linesstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25htest37.in [No Name] [+]  [?25l/[?12l[?25h^start of window 1$/
[?25lsearch hit BOTTOM, continuing at TOPENDTESTstart of window 1010102020303[?12l[?25h[?25l
. line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25htest37.in  [No Name] [+] [?25l:[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h^start of window 2$/
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05[?12l[?25h[?25l:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollbind
[?25l[?12l[?25h[?25l:[?12l[?25h" -- start of tests --
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling down
[?25l[?12l[?25h
[?25l. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
. line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
. line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10[?12l[?25h[No Name] [+]  [No Name] [+] [?25l
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
[?12l[?25h[?25l0[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
[?12l[?25h[?25l1[?12l[?25htest37.in [No Name] [+]  
[?25l. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[?12l[?25htest37.in  [No Name] [+] [?25l
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
[?12l[?25h[?25l2[?12l[?25h[No Name] [+] [No Name] [+]  [No Name] [+]  [No Name] [+] [?25l
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
[?12l[?25h[?25l3[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST scrolling up
[?25l[?12l[?25htest37.in [No Name] [+]  [?25l440505060607070808090900. line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
. line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
. line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
. line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08[?12l[?25htest37.in  [No Name] [+] test37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
[?12l[?25h[?25l4[?12l[?25h[No Name] [+] [No Name] [+]  [No Name] [+]  [No Name] [+] [?25l
. line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
[?12l[?25h[?25l5[?12l[?25h[No Name] [+] [No Name] [+]  [?25lstart of window 1
. line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
. line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03start of window 2
. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
. line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [No Name] [+]  [No Name] [+] [?25l
. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
[?12l[?25h[?25l6[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
. line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l7[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" TEST horizontal scrolling
[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt+=hor
[?25l[?12l[?25h[?25l05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
2 line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l3 line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
46 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
56 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
6 line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
7 line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
[?12l[?25h[?25l
[?12l[?25htest37.in [No Name] [+]  [?25l 156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0156789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0256789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0356789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 0556789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06 2UTSRQPONMLKJIHGREDCBA9876543210 01UTSRQPONMLKJIHGREDCBA9876543210 02UTSRQPONMLKJIHGREDCBA9876543210 03UTSRQPONMLKJIHGREDCBA9876543210 04UTSRQPONMLKJIHGREDCBA9876543210 05UTSRQPONMLKJIHGREDCBA9876543210 06UTSRQPONMLKJIHGREDCBA9876543210 07[?12l[?25htest37.in  [No Name] [+] [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02[?12l[?25h[?25l
[?12l[?25h[No Name] [+] [No Name] [+]  [No Name] [+]  [No Name] [+] [?25lUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[No Name] [+] [No Name] [+]  [?25l56789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09101112131415
UTSRQPONMLKJIHGREDCBA9876543210 0910111213141516[?12l[?25h[?25l. line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
. line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
. line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
. line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
. line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
. line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
. line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[?12l[?25h[?25l[?12l[?25h[No Name] [+]  [No Name] [+] [?25l. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11[?12l[?25h[?25l
[?12l[?25htest37.in [No Name] [+]  
test37.in  [No Name] [+] [?25l. line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11[?12l[?25h[?25l
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset scrollopt-=hor
[?25l[?12l[?25h[?25l:[?12l[?25h" TEST syncbind
[?25l[?12l[?25htest37.in [No Name] [+]  [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lTest for 'scrollbind'. <eralston@computer.org> Do not add a line below!
STARTTEST:so small.vim:set noscrollbind:set scrollopt=ver,jump:set scrolloff=2:set nowrap[?12l[?25h
test37.in  [No Name] [+] [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lstart of window 201010202[?12l[?25h[?25l:[?12l[?25hset scb
[?25l[?12l[?25htest37.in [No Name] [+]  [?25l:[?12l[?25hset scb
[?25l[?12l[?25h[?25l. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2end of test37.in (please don't delete this line)
end of window 2
~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25lzt::set scrollbind:" -- start of tests --:" TEST scrolling downL5jHyy^Wbpr0^WtHyy^Wbpr1^WtL6jHyy^Wbpr2^WkHyy^Wbpr3:
:" TEST scrolling up
^WtH4k^WjH^WtHyy^Wbpr4^WkHyy^Wbpr5^Wk3k^WtH^WjHyy^Wbpr6^WtHyy^Wbpr7:
test37.in  . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[No Name] [+] [?12l[?25h[?25l:[?12l[?25hsyncbind
[?25l[?12l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [No Name] [+]  [No Name] [+] [?25l
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
:set scrollbind
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25htest37.in [No Name] [+]  [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lTest for 'scrollbind'. <eralston@computer.org> Do not add a line below!
STARTTEST
:so small.vimset noscrollbindset scrollopt=ver,jump
:set scrolloff=2set nowrap[?12l[?25h
test37.in  [No Name] [+] [?25l:[?12l[?25hset noscb
[?25l[?12l[?25h[?25lstart of window 2. line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01. line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02[?12l[?25h[?25l:[?12l[?25hset scb
[?25l[?12l[?25htest37.in [No Name] [+]  [?25l:[?12l[?25hset scb
[?25l[?12l[?25h[?25l. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
. line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
end of window 2end of test37.in (please don't delete this line)
end of window 2
~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25lzt::set scrollbind:" -- start of tests --:" TEST scrolling downL5jHyy^Wbpr0^WtHyy^Wbpr1^WtL6jHyy^Wbpr2^WkHyy^Wbpr3:
:" TEST scrolling up
^WtH4k^WjH^WtHyy^Wbpr4^WkHyy^Wbpr5^Wk3k^WtH^WjHyy^Wbpr6^WtHyy^Wbpr7:
test37.in  . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16[No Name] [+] [?12l[?25htest37.in [No Name] [+]  [?25l:[?12l[?25hsyncbind
[?25l[?12l[?25h[?25l/^start of window 2$/. line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14[?12l[?25htest37.in  [No Name] [+] test37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
:set scrollbind
[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [No Name] [+]  [No Name] [+] [?25l
. line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25htest37.in [No Name] [+]  [?25lzt:
:set scrollbind
^Wj:
:resize 7. line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
. line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
. line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13[?12l[?25htest37.in  [No Name] [+] test37.in [No Name] [+]  test37.in  [No Name] [+] [?25l
^Wj:
[?12l[?25htest37.in [No Name] [+]  test37.in  [No Name] [+] [No Name] [+]  [No Name] [+] [?25l
. line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
[?12l[?25h[?25l
:[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25h" ***** done with tests *****
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out " Write contents of this file
[?25l"test.out" [New] 33L, 1329C writtentest.out] [?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test38.failed test.ok test.out X* viminfo
cp test38.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test38.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test38.in" 35L, 455C[>cTest Virtual replace mode.
STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
ggdGa
abcdefghi
jk lmn
opq rst
^Duvwxyz
^[gg:set ai
:set bs=2
gR0^D 1
A
BCDEFGHIJKL
MNO
PQR^[G:ka
o0^D
abcdefghi
jk lmn[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 29L, 407C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1opq rst
^Duvwxyz
^['ajgR0^D 1
A
BCDEFGHIJKL
MNO
PQR^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^[:$
iab cdefghi jkl^[0gRAB......CDEFGHI.J^[o^[:
iabcdefghijklmnopqrst^[0gRAB IJKLMNO QR^[:wq! test.out[?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" make sure that backspace works, no matter what termcap is used
[?25l[?12l[?25h[?25l:[?12l[?25hset t_kD=^^? t_kb=^^H
[?25l^Duvwxyz
^[gg:set ai
:set bs=2
gR0^D 1
A
BCDEFGHIJKL
MNO
PQR^[G:ka
o0^D
abcdefghi
jk lmn
opq rst
^Duvwxyz
^['ajgR0^D 1
A
BCDEFGHIJKL
MNO
PQR^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^[:$
iab cdefghi jkl^[0gRAB......CDEFGHI.J^[o^[:
iabcdefghijklmnopqrst^[0gRAB IJKLMNO QR^[:wq! test.out
ENDTEST
[?12l[?25h[?25lTest Virtual replace mode.
STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=^Vx7f t_kb=^Vx08
ggdGa
abcdefghi
jk lmn
opq rst[?12l[?25h[?25l
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --No lines in buffer--[?12l[?25h[?25l-- INSERT --abcdefghijk lmn opq rstuvwxyzg[?12l[?25h [?25l[?12l[?25h[?25l:[?12l[?25hset ai
[?25l[?12l[?25h[?25l:[?12l[?25hset bs=2
[?25l[?12l[?25h[?25l-- VREPLACE --1
A BCDEFGHIJ KL MNOPQR[?12l[?25h[?25l:[?12l[?25hka
[?25l[?12l[?25h[?25l-- INSERT --abcdefghijk lmn opq rstuvwxyz'[?12l[?25h [?25l[?12l[?25h
[?25l-- VREPLACE --1:[?12l[?25h [?25l[?12l[?25h[?25l:$
[?12l[?25h[?25l-- INSERT --ab cdefghi jkl[?12l[?25h
[?25l-- VREPLACE --AB......CDEFGHI.J[?12l[?25h[?25l-- INSERT --:[?12l[?25h [?25l[?12l[?25h[?25l:[?12l[?25h[?25l-- INSERT --abcdefghijklmnopqrst[?12l[?25h
[?25l-- VREPLACE --AB IJKLMNO QR[?12l[?25h[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New] 13L, 107C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test39.failed test.ok test.out X* viminfo
cp test39.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test39.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test39.in" [converted] 104L, 2205C[>cTest Visual block mode commands
And test "U" in Visual mode, also on German sharp S.
STARTTEST
:so small.vim
:so mbyte.vim
:" This only works when 'encoding' is "latin1", don't depend on the environment
:set enc=latin1
/^abcde
:" Test shift-right of a block
jllll^Vjj>wll^Vjlll>
:" Test shift-left of a block
G$hhhh^Vkk<
:" Test block-insert
Gkl^VkkkIxyz^[
:" Test block-replace
Gllll^Vkkklllrq
:" Test block-change
G$khhh^Vhhkkcmno^[
:$-4,$w! test.out
:" Test block-insert using cursor keys for movement
/^aaaa/[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25l[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [converted][New] 69L, 1924C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:" visual replace using Enter or NL
G3o123456789^[2k05l^V2jr^MG3o98765^[2k02l^V2jr^V^M
G3o123456789^[2k05l^V2jr
G3o98765^[2k02l^V2jr^V
:"
:" Test cursor position. When ve=block and Visual block mode and $gj
:set ve=block
:exe ":norm! 2k\<C-V>$gj\<Esc>"
:let cpos=getpos("'>")
:$put ='col:'.cpos[2].' off:'.cpos[3]
:/^the/,$w >> test.out
:qa!
ENDTESTline1line2line3
aaaaaa
bbbbbb
cccccc
dddddd[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" This only works when 'encoding' is "latin1", don't depend on the environment
[?25l[?12l[?25h[?25l:[?12l[?25hset enc=latin1
[?25l:" visual replace using Enter or NL
G3o123456789^[2k05l^V2jr^MG3o98765^[2k02l^V2jr^V^M
G3o123456789^[2k05l^V2jr
G3o98765^[2k02l^V2jr^V
:"
:" Test cursor position. When ve=block and Visual block mode and $gj
:set ve=block
:exe ":norm! 2k\<C-V>$gj\<Esc>"
:let cpos=getpos("'>")
:$put ='col:'.cpos[2].' off:'.cpos[3]
:/^the/,$w >> test.out
:qa!
ENDTESTline1line2line3
aaaaaa
bbbbbb
cccccc
dddddd[?12l[?25h[?25l/[?12l[?25h^abcde
[?25lxaaa
bbbb
cccc
dddd
A23
4567
B23
4567
C23
4567
abcdefghijklm[?12l[?25h[?25l
:[?12l[?25h" Test shift-right of a block
[?25l[?12l[?25h[?25l
abcdefghijklm[?12l[?25habcd[?25l
-- VISUAL BLOCK --[?12l[?25h[?25l
e
abcdefghijklm
abcd[?12l[?25h[?25l
e
abcdefghijklm
abcd[?12l[?25h[?25l
3 lines >ed 1 time  efghijklm
abcd efghijklm
abcd efghijklm[?12l[?25h ef[?25l
-- VISUAL BLOCK --[?12l[?25h[?25lg[?12l[?25h[?25lhg[?12l[?25h[?25lih[?12l[?25h[?25lji[?12l[?25h[?25l ghijklm ghijklm[?12l[?25h[?25l
:[?12l[?25h" Test shift-left of a block
[?25l[?12l[?25h[?25l
abcdefghijklm[?12l[?25h[?25l
-- VISUAL BLOCK --[?12l[?25h[?25li[?12l[?25h[?25l [?12l[?25h[?25l
3 lines <ed 1 time ef efghijklmi[?12l[?25h[?25l:[?12l[?25h" Test block-insert
[?25l[?12l[?25h
a[?25l
-- VISUAL BLOCK --[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25l
ab
ab
ab-- INSERT --xyzbcdefghijklm
axyzbcd
axyzbcd
axyzbcd[?12l[?25h
a[?25l:[?12l[?25h" Test block-replace
[?25l[?12l[?25h
abcd[?25l
-- VISUAL BLOCK --[?12l[?25h[?25le[?12l[?25h[?25lb[?12l[?25h[?25lb[?12l[?25h[?25lbccf[?12l[?25h[?25lcddg[?12l[?25h[?25ld  h[?12l[?25h[?25lqqqq
axyzqqqq
axyzqqqq
abcdqqqq[?12l[?25h
axyz[?25l
:[?12l[?25h" Test block-change
[?25l[?12l[?25h
[?25l
-- VISUAL BLOCK --[?12l[?25h[?25lj[?12l[?25h[?25li[?12l[?25h[?25l ghijkl[?12l[?25h[?25lef gkl[?12l[?25h[?25lINSERT --Omnomnomno[?12l[?25h[?25l
:[?12l[?25h$-4,$w! test.out
[?25l"test.out" [New] 5L, 108C written[?12l[?25h[?25l:[?12l[?25h" Test block-insert using cursor keys for movement
[?25l[?12l[?25h[?25l/[?12l[?25h^aaaa/
[?25lsearch hit BOTTOM, continuing at TOPaaaaaasearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>jjjlllI\<Right>\<Right> \<Esc>"
[?25l aaa
bbb bbb
ccc ccc
ddd ddd[?12l[?25h[?25l:[?12l[?25h/^aa/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5L, 37C appended[?12l[?25h[?25l/[?12l[?25hxaaa$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! \<C-V>jjjI<>\<Left>p\<Esc>"
[?25l<p>xaaa
<p>bbbb
<p>cccc
<p>dddd[?12l[?25h[?25l:[?12l[?25h/xaaa$/,/^$/w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 5L, 33C appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the last <C-v>$
[?25l[?12l[?25h[?25l/[?12l[?25h^A23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$Aab\<Esc>"
[?25lab
4567ab[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 3L, 14C appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the middle <C-v>$ (1)
[?25l[?12l[?25h[?25l/[?12l[?25h^B23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$hAab\<Esc>"
[?25lab
4567ab[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 3L, 15C appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block was created with the middle <C-v>$ (2)
[?25l[?12l[?25h[?25l/[?12l[?25h^C23$/
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! l\<C-V>j$hhAab\<Esc>"
[?25lab
456ab7[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 3L, 14C appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block insert when virtualedit=all and utf-8 encoding
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=all enc=utf-8
[?25laaa aaa
bbb bbb
ccc ccc
ddd ddd
<p>xaaa
<p>bbbb
<p>cccc
<p>dddd
A23ab
4567ab
B23 ab
4567ab
C23ab
456ab7
axyzbcdefghijklm
axyzqqqq mnoghijklm
axyzqqqqef mnoghijklm
axyzqqqqefgmnoklm[?12l[?25h[?25l:[?12l[?25h/\t\tline
[?25lsearch hit BOTTOM, continuing at TOPline1line2line3search hit BOTTOM, continuing at TOP[?12l[?25h[?25l:[?12l[?25hexe ":norm! 07l\<C-V>jjIx\<Esc>"
[?25lxxx[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" [converted] 4L, 49C appended[?12l[?25h[?25l:[?12l[?25h" Test for Visual block append when virtualedit=all
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! 012l\<C-v>jjAx\<Esc>"
[?25lx line1x line2x line3[?12l[?25h[?25l:[?12l[?25hset ve= enc=latin1
[?25lx x line1x x line2x x line3
aaa aaa
bbb bbb
ccc ccc
ddd ddd
<p>xaaa
<p>bbbb
<p>cccc
<p>dddd
A23ab
4567ab
B23 ab
4567ab
C23ab
456ab7[?12l[?25h[?25l:[?12l[?25h.,/^$/w >> test.out
[?25l"test.out" 4L, 70C appended[?12l[?25h[?25l:[?12l[?25h" gUe must uppercase a whole word, also when � changes to SS
[?25l[?12l[?25h[?25laxyzbcdefghijklm
axyzqqqq mnoghijklm
axyzqqqqef mnoghijklm
axyzqqqqefgmnoklm
abcdqqqqijklm[?12l[?25h[?25l
-- INSERT --
the youtu�euu end[?12l[?25h[?25l
the youtu�euu end
[?12l[?25hthe [?25lYOUTUSSEUU end
the [?12l[?25h
the [?25l
:[?12l[?25h" gUfx must uppercase until x, inclusive.
[?25l[?12l[?25h[?25l
-- INSERT --- you�tu�exu -[?12l[?25h
- y[?25lOUSSTUSSEXu -
- y[?12l[?25h[?25l
the youtu�euu end
the[?12l[?25h[?25l
:[?12l[?25h" VU must uppercase a whole line
[?25l[?12l[?25h[?25l
the youtu�euu end[?12l[?25h[?25lthe youtu�euu end 
-- VISUAL LINE --[?12l[?25h[?25lTHE YOUTUSSEUU END[?12l[?25h
[?25l
:[?12l[?25h" same, when it's the last line in the buffer
[?25l[?12l[?25h[?25l[?12l[?25h[?25l
the youtu�euu end[?12l[?25h[?25l
-- INSERT --111the youtu�euu end
11[?12l[?25h[?25l
111the youtu�euu end 
-- VISUAL LINE --[?12l[?25h[?25l
111THE YOUTUSSEUU END[?12l[?25h[?25l~ [?12l[?25h[?25l111THE YOUTUSSEUU END
the youtu�euu end[?12l[?25h
[?25l
:[?12l[?25h" Uppercase two lines
[?25l[?12l[?25h[?25l
-- INSERT --
blah didoh dut[?12l[?25h[?25l
doh dut 
-- VISUAL LINE --[?12l[?25h[?25lblah di t[?12l[?25h[?25l
BLAH DIDOH DUT[?12l[?25h[?25l
the youtu�euu end[?12l[?25h[?25l
:[?12l[?25h" Uppercase part of two lines
[?25l[?12l[?25h[?25l
~ [?12l[?25h[?25l
the youtu�euu end[?12l[?25h[?25l
the youtu�euu end[?12l[?25h[?25l
-- INSERT --333the youtu�euu end
33[?12l[?25h
[?25l
-- INSERT --222the youtu�euu end
22[?12l[?25h2the yo[?25l
-- VISUAL --[?12l[?25h[?25lutu�euu end
333the yo[?12l[?25h[?25lut[?12l[?25h[?25lUTUSSEUU END
333THE YOUTU[?12l[?25h[?25l
:[?12l[?25h" visual replace using Enter or NL
[?25l[?12l[?25h
[?25l
-- INSERT --123456789
123456789
123456789[?12l[?25h
12345[?25l
-- VISUAL BLOCK --[?12l[?25h[?25l66[?12l[?25h[?25l789[?12l[?25h[?25l789
12345
789
[?12l[?25h[?25l
-- INSERT --98765
98765
98765[?12l[?25h
98[?25l
-- VISUAL BLOCK --[?12l[?25h[?25l7
987
98[?12l[?25h[?25l^M65
98^M65
98^M65[?12l[?25h
98
[?25l
-- INSERT --123456789
123456789
123456789[?12l[?25h
12345[?25l
-- VISUAL BLOCK --[?12l[?25h[?25l66[?12l[?25h[?25l789[?12l[?25h[?25l789
12345
789
[?12l[?25h[?25l
-- INSERT --98765
98765
98765[?12l[?25h
98[?25l
-- VISUAL BLOCK --[?12l[?25h[?25l7
987
98[?12l[?25h[?25l^@65
98^@65
98^@65[?12l[?25h[?25l
:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test cursor position. When ve=block and Visual block mode and $gj
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=block
[?25l[?12l[?25h[?25l:[?12l[?25hexe ":norm! 2k\<C-V>$gj\<Esc>"
[?25l[?12l[?25h[?25l:[?12l[?25hlet cpos=getpos("'>")
[?25l[?12l[?25h[?25l:[?12l[?25h$put ='col:'.cpos[2].' off:'.cpos[3]
[?25l
col:4 off:0[?12l[?25h[?25l
:[?12l[?25h/^the/,$w >> test.out
[?25lsearch hit BOTTOM, continuing at TOP
"test.out" 27L, 244C appended[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test40.failed test.ok test.out X* viminfo
cp test40.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test40.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test40.in" 64L, 1553C[>cTest for "*Cmd" autocommands
STARTTEST
:so small.vim
:set wildchar=^E
:/^start/,$w! Xxx" write lines below to Xxx
:au BufReadCmd XtestA 0r Xxx|$del
:e XtestA" will read text of Xxd instead
:au BufWriteCmd XtestA call append(line("$"), "write")
:w" will append a line to the file
:r XtestA" should not read anything
:" now we have:
:" 1 start of Xxx
:" 2test40
:" 3 end of Xxx
:" 4 write
:au FileReadCmd XtestB '[r Xxx
:2r XtestB" will read Xxx below line 2 instead
:" 1 start of Xxx
:" 2test40
:" 3 start of Xxx
:" 4test40
:" 5 end of Xxx[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for "*Cmd" autocommands[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 56L, 1472C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:$w >>test.out" append "end of Xxx" to test.out
:au BufReadCmd XtestE 0r test.out|$del
:sp XtestE" split window with test.out
5Goasdf^[^W^W:"
:au BufWriteCmd XtestE w! test.out
:wall" will write other window to test.out
:" 1 start of Xxx
:" 2test40
:" 3 start of Xxx
:" 4test401
:" 5 end of Xxx
:" 6 asdf
:" 7 end of Xxx
:" 8 write
:" 9test401
:" 10 end of Xxx
:" 11 end of Xxx
:qa!
ENDTEST
start of Xxxtest40
end of Xxx[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset wildchar=^E
[?25l[?12l[?25h[?25l:[?12l[?25h/^start/,$w! Xxx^I^I" write lines below to Xxx
[?25l"Xxx" [New] 3L, 32C written[?12l[?25h[?25l:[?12l[?25hau BufReadCmd XtestA 0r Xxx|$del
[?25l[?12l[?25h[?25l:[?12l[?25he XtestA^I^I^I" will read text of Xxd instead
[?25l"Xxx" 3L, 32Cstart of Xxx test40end of Xxx~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hau BufWriteCmd XtestA call append(line("$"), "write")
[?25l[?12l[?25h[?25l:[?12l[?25hw^I^I^I^I" will append a line to the file
[?25lwrite[?12l[?25h[?25l:[?12l[?25hr XtestA^I^I^I" should not read anything
[?25lE484: Can't open file XtestA[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" now we have:
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25hau FileReadCmd XtestB '[r Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h2r XtestB^I^I^I" will read Xxx below line 2 instead
[?25l"Xxx" 3L, 32Cstart of Xxxtest40
end of Xxx[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25hau FileWriteCmd XtestC '[,']copy $
[?25l[?12l[?25h[?25l-- INSERT --1[?12l[?25h[?25l:[?12l[?25h4,5w XtestC^I^I^I" will copy lines 4 and 5 to the end
[?25l test401end of Xxx[?12l[?25h[?25l:[?12l[?25hr XtestC^I^I^I" should not read anything
[?25lE484: Can't open file XtestC[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 8^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 9^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25hau FILEAppendCmd XtestD '[,']w! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hw >>XtestD^I^I^I" will write all lines to test.out
[?25l"test.out" [New] 9L, 91C written[?12l[?25h[?25l:[?12l[?25h$r XtestD^I^I^I" should not read anything
[?25lE484: Can't open file XtestD[?12l[?25h[?25l:[?12l[?25h$w >>test.out^I^I^I" append "end of Xxx" to test.out
[?25l"test.out" 1L, 11C appended[?12l[?25h[?25l:[?12l[?25hau BufReadCmd XtestE 0r test.out|$del
[?25l[?12l[?25h[?25l:[?12l[?25hsp XtestE^I^I^I" split window with test.out
[?25l"test.out" 10L, 102Cend of XxxXtestE end of Xxxwrite test401end of XxxXtestA [+] [?12l[?25h[?25l-- INSERT --asdf[+][?12l[?25hXtestE [+]  XtestA [+] [?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25hau BufWriteCmd XtestE w! test.out
[?25l[?12l[?25h[?25l:[?12l[?25hwall^I^I^I^I" will write other window to test.out
[?25l"test.out" 11L, 107C writtenwrite[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 1^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 2^I^Itest40
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 3^Istart of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 4^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 5^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 6^Iasdf
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 7^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 8^Iwrite
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 9^I^Itest401
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 10^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25h^I^I^I^I" 11^Iend of Xxx
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test42.failed test.ok test.out X* viminfo
cp test42.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test42.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test42.in" [converted] 130L, 2385C[>cTest for writing and reading a file starting with a BOM
STARTTEST
:so mbyte.vim
:set encoding=utf-8
:set fileencodings=ucs-bom,latin-1
:set ff=unix ffs=unix" This changes the file for DOS and MAC
:" --- Write the test files
:/^latin-1$/+1w! Xtest0
:/^utf-8$/+1w! Xtest1
:/^utf-8-err$/+1w! Xtest2
:/^ucs-2$/+1w! Xtest3
:/^ucs-2le$/+1w! Xtest4
:" Need to add a NUL byte after the NL byte
:set bin
:e! Xtest4" Ignore change from setting 'ff'
o^V^@^[:set noeol
:w
:set ffs& nobinary" Allow default test42.in format
:e #
:set ff=unix" Format for files to write
:/^ucs-4$/+1w! Xtest5
:/^ucs-4le$/+1w! Xtest6[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTest for writing and reading a file starting with a BOM[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [converted][New] 111L, 2116C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:set bin
:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&" Write the file in default format
:w! test.out
:qa!
ENDTEST
latin-1
þþlatin-1
utf-8
utf-8
utf-8-err
utf-8<80>err
ucs-2
þÿ^@u^@c^@s^@-^@2^@
ucs-2le[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8
[?25l:set bin
:e! test.out
:$r Xtest0x
:$r Xtest1x
:$r Xtest2x
:$r Xtest3x
:$r Xtest4x
:$r Xtest5x
:$r Xtest6x
:set nobin ff&" Write the file in default format
:w! test.out
:qa!
ENDTEST
latin-1
þþlatin-1
utf-8
utf-8
utf-8-err
utf-8<80>err
ucs-2
þÿ^@u^@c^@s^@-^@2^@
ucs-2le[?12l[?25h[?25l:[?12l[?25hset fileencodings=ucs-bom,latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hset ff=unix ffs=unix " This changes the file for DOS and MAC
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Write the test files
[?25l[?12l[?25h[?25l:[?12l[?25h/^latin-1$/+1w! Xtest0
[?25l"Xtest0" [converted][New] 1L, 12C written[?12l[?25h[?25l:[?12l[?25h/^utf-8$/+1w! Xtest1
[?25l"Xtest1" [converted][New] 1L, 12C written[?12l[?25h[?25l:[?12l[?25h/^utf-8-err$/+1w! Xtest2
[?25l"Xtest2" [converted][New] 1L, 17C written[?12l[?25h[?25l:[?12l[?25h/^ucs-2$/+1w! Xtest3
[?25l"Xtest3" [converted][New] 1L, 16C written[?12l[?25h[?25l:[?12l[?25h/^ucs-2le$/+1w! Xtest4
[?25l"Xtest4" [converted][New] 1L, 19C written[?12l[?25h[?25l:[?12l[?25h" Need to add a NUL byte after the NL byte
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest4 " Ignore change from setting 'ff'
[?25l"Xtest4" 1L, 17C<ff><fe>u^@c^@s^@-^@2^@l^@e^@
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --^@:[?12l[?25h [?25l[?12l[?25h[?25l:set noeol
[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtest4" [noeol] 2L, 18C written[?12l[?25h[?25l:[?12l[?25hset ffs& nobinary " Allow default test42.in format
[?25l[?12l[?25h[?25l:[?12l[?25he #
[?25l"test42.in" 130L, 2368C:e! test.out:$r Xtest0x
:$r Xtest1x:$r Xtest2x:$r Xtest3x:$r Xtest4x:$r Xtest5x:$r Xtest6x:set nobin ff& " Write the file in default format:w! test.out:qa!ENDTESTlatin-1<fe><fe>latin-1utf-8<feff>utf-8utf-8-err<feff>utf-8<80>errucs-2<fe><ff>^@u^@c^@s^@-^@2^@ucs-2le<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?12l[?25h[?25l:[?12l[?25hset ff=unix " Format for files to write
[?25l[?12l[?25h[?25l:[?12l[?25h/^ucs-4$/+1w! Xtest5
[?25l"Xtest5" [New] 1L, 28C written[?12l[?25h[?25l:[?12l[?25h/^ucs-4le$/+1w! Xtest6
[?25l"Xtest6" [New] 1L, 33C written[?12l[?25h[?25l:[?12l[?25h" Need to add three NUL bytes after the NL byte
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest6 " ! for when setting 'ff' is a change
[?25l"Xtest6" 1L, 33C<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l-- INSERT --
^@^@^@:[?12l[?25h [?25l[?12l[?25h[?25l:set noeol
[?12l[?25h[?25l:[?12l[?25hw
[?25l"Xtest6" [noeol] 2L, 36C written[?12l[?25h[?25l:[?12l[?25hset nobin
[?25l[?12l[?25h[?25l:[?12l[?25he #
[?25l"test42.in" 130L, 2368C:e! test.out:$r Xtest0x
:$r Xtest1x:$r Xtest2x:$r Xtest3x:$r Xtest4x:$r Xtest5x:$r Xtest6x:set nobin ff& " Write the file in default format:w! test.out:qa!ENDTESTlatin-1<fe><fe>latin-1utf-8<feff>utf-8utf-8-err<feff>utf-8<80>errucs-2<fe><ff>^@u^@c^@s^@-^@2^@ucs-2le<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check that editing a latin-1 file doesn't see a BOM
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest0
[?25l"Xtest0" [converted] 1L, 12Cþþlatin-1~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hredir! >test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=latin1
nobomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lþþlatin-1
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 12C appended[?12l[?25h[?25l:[?12l[?25hset bomb fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest0x
[?25l"Xtest0x" [converted][New] 1L, 12C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check utf-8
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest1
[?25l"Xtest1" 1L, 9Cutf-8[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=utf-8
bomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lutf-8
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 6C appended[?12l[?25h[?25l:[?12l[?25hset fenc=utf-8
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest1x
[?25l"Xtest1x" [New] 1L, 9C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check utf-8 with an error (will fall back to latin-1)
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest2
[?25l"Xtest2" [converted] 1L, 17Cutf-8<80>err
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=latin1
nobomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lutf-8<80>err
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 17C appended[?12l[?25h[?25l:[?12l[?25hset fenc=utf-8
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest2x
[?25l"Xtest2x" [New] 1L, 17C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-2
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest3
[?25l"Xtest3" [converted] 1L, 8Cucs-2[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=utf-16
bomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-2
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 6C appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-2
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest3x
[?25l"Xtest3x" [converted][New] 1L, 8C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-2le
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest4
[?25l"Xtest4" [converted] 1L, 10Cle
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=utf-16le
bomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-2le
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 8C appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-2le
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest4x
[?25l"Xtest4x" [converted][New] 1L, 10C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-4
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest5
[?25l"Xtest5" [converted] 1L, 10C4[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=ucs-4
bomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-4
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 6C appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-4
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest5x
[?25l"Xtest5x" [converted][New] 1L, 10C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check ucs-4le
[?25l[?12l[?25h[?25l:[?12l[?25he! Xtest6
[?25l"Xtest6" [converted] 1L, 12Cle
[?12l[?25h[?25l:[?12l[?25hredir >>test.out
[?25l[?12l[?25h[?25l:[?12l[?25hset fileencoding bomb?
[?25l fileencoding=ucs-4le
bomb
Press ENTER or type command to continue[?12l[?25h[?25l:[?12l[?25hredir END
[?25lucs-4le
~ [?12l[?25h[?25l:[?12l[?25hset fenc=latin-1
[?25l[?12l[?25h[?25l:[?12l[?25hw >>test.out
[?25l"test.out" [converted] 1L, 8C appended[?12l[?25h[?25l:[?12l[?25hset fenc=ucs-4le
[?25l[?12l[?25h[?25l:[?12l[?25hw! Xtest6x
[?25l"Xtest6x" [converted][New] 1L, 12C written[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" --- Check the files written with BOM
[?25l[?12l[?25h[?25l:[?12l[?25hset bin
[?25l[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 35L, 275C fileencoding=latin1nobomb<fe><fe>latin-1 fileencoding=utf-8 bombutf-8 fileencoding=latin1nobomb<feff>utf-8<80>err fileencoding=utf-16 bombucs-2 fileencoding=utf-16le[?12l[?25h[?25l:[?12l[?25h$r Xtest0x
[?25l"Xtest0x" 1L, 10Cbomb
ucs-2lefileencoding=ucs-4
bomb
ucs-4fileencoding=ucs-4le
bomb
ucs-4le
<fe><fe>latin-1[?12l[?25h[?25l
:[?12l[?25h$r Xtest1x
[?25l"Xtest1x" 1L, 9C
<feff>utf-8[?12l[?25h[?25l
:[?12l[?25h$r Xtest2x
[?25l"Xtest2x" 1L, 17C
utf-8<80>err[?12l[?25h[?25l
:[?12l[?25h$r Xtest3x
[?25l"Xtest3x" 1L, 14C
<fe><ff>^@u^@c^@s^@-^@2^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest4x
[?25l"Xtest4x" [noeol] 2L, 18C
<ff><fe>u^@c^@s^@-^@2^@l^@e^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest5x
[?25l"Xtest5x" 1L, 28C^@
^@^@<fe><ff>^@^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@[?12l[?25h[?25l
:[?12l[?25h$r Xtest6x
[?25l"Xtest6x" [noeol] 2L, 36C
<ff><fe>^@^@u^@^@^@c^@^@^@s^@^@^@-^@^@^@4^@^@^@l^@^@^@e^@^@^@[?12l[?25h[?25l
:[?12l[?25hset nobin ff& " Write the file in default format
[?25l[?12l[?25h[?25l:[?12l[?25hw! test.out
[?25l"test.out" 44L, 409C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test44.failed test.ok test.out X* viminfo
cp test44.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test44.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test44.in" 68L, 2570C[>cTests for regexp with multi-byte encoding and various magic settings.
Test matchstr() with a count and multi-byte chars.
See test99 for exactly the same test with re=2.
STARTTEST
:so mbyte.vim
:set encoding=utf-8 termencoding=latin1
:set re=1
/^1
/a*b\{2}c\+/e
x/\Md\*e\{2}f\+/e
x:set nomagic
/g\*h\{2}i\+/e
x/\mj*k\{2}l\+/e
x/\vm*n{2}o+/e
x/\V^aa$
x:set magic
/\v(a)(b)\2\1\1/e
x/\V[ab]\(\[xy]\)\1
x:" Now search for multi-byte without composing char
/ม
x:" Now search for multi-byte with composing char
/ม่[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for regexp with multi-byte encoding and various magic settings.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 41L, 1331C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1/x
x?.
x:let @w=':%s#comb[i]nations#œ̄ṣ́m̥̄ᾱ̆#g'
:@w
:?^1?,$w! test.out
:e! test.out
G:put =matchstr(\"אבגד\", \".\", 0, 2) " ב
:put =matchstr(\"אבגד\", \"..\", 0, 2) " בג
:put =matchstr(\"אבגד\", \".\", 0, 0) " א
:put =matchstr(\"אבגד\", \".\", 4, -1) " ג
:w!
:qa!
ENDTEST
1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
9 หม่x อมx[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso mbyte.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset encoding=utf-8 termencoding=latin1
[?25l/x
x?.
x:let @w=':%s#comb[i]nations#��m�#g'
:@w
:?^1?,$w! test.out
:e! test.out
G:put =matchstr(\"����\", \".\", 0, 2) " �
:put =matchstr(\"����\", \"..\", 0, 2) " ��
:put =matchstr(\"����\", \".\", 0, 0) " �
:put =matchstr(\"����\", \".\", 4, -1) " �
:w!
:qa!
ENDTEST
1 a aa abb abbccc
2 d dd dee deefff
3 g gg ghh ghhiii
4 j jj jkk jkklll
5 m mm mnn mnnooo
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
9 ��x ��x[?12l[?25h[?25l:[?12l[?25hset re=1
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l[?12l[?25h[?25l/[?12l[?25ha*b\{2}c\+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\Md\*e\{2}f\+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hset nomagic
[?25l[?12l[?25h[?25l/[?12l[?25hg\*h\{2}i\+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\mj*k\{2}l\+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\vm*n{2}o+/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\V^aa$
[?25l[?12l[?25h[?25laa$ x[?12l[?25h[?25l:[?12l[?25hset magic
[?25l[?12l[?25h[?25l/[?12l[?25h\v(a)(b)\2\1\1/e
[?25l[?12l[?25h[?25l[?12l[?25h[?25l/[?12l[?25h\V[ab]\(\[xy]\)\1
[?25l[?12l[?25h[?25lab]x[?12l[?25h[?25l:[?12l[?25h" Now search for multi-byte without composing char
[?25l[?12l[?25h[?25l/[?12l[?25h�
[?25l[?12l[?25h[?25lx[?12l[?25h[?25l:[?12l[?25h" Now search for multi-byte with composing char
[?25l[?12l[?25h[?25l/[?12l[?25h��
[?25l
a ��x ��x[?12l[?25h[?25lx[?12l[?25h[?25l
:[?12l[?25h" find word by change of word class
[?25l[?12l[?25h[?25l/[?12l[?25h�?\<�?�?\>�?
[?25l
b �?�?�?�?[?12l[?25h[?25l�?�?�?[?12l[?25h[?25l
:[?12l[?25h" Test \%u, [\u] and friends
[?25l[?12l[?25h[?25l/[?12l[?25h\%u20ac
[?25l
c x ��x[?12l[?25h[?25lx[?12l[?25h[?25l
/[?12l[?25h[\u4f7f\u5929]\+
[?25l
d �?�?x[?12l[?25h[?25l�?x [?12l[?25h[?25l
/[?12l[?25h\%U12345678
[?25l
e �y[?12l[?25h[?25ly[?12l[?25h[?25l
/[?12l[?25h[\U1234abcd\u1234\uabcd]
[?25l
f �z[?12l[?25h[?25lz[?12l[?25h[?25l
/[?12l[?25h\%d21879b
[?25l
g a�?bb[?12l[?25h[?25lbb[?12l[?25h[?25l
/[?12l[?25h [[=A=]]* [[=B=]]* [[=C=]]* [[=D=]]* [[=E=]]* [[=F=]]* [[=G=]]* [[=H=]]* [[=I=
]]* [[=J=]]* [[=K=]]* [[=L=]]* [[=M=]]* [[=N=]]* [[=O=]]* [[=P=]]* [[=Q=]]* [[=R
=]]* [[=S=]]* [[=T=]]* [[=U=]]* [[=V=]]* [[=W=]]* [[=X=]]* [[=Y=]]* [[=Z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l:w!
:qa!
ENDTEST1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
6 x aa$ x7 (a)(b) abba8 axx ab]xx9 ��x �xa ��x �xb �?�?�?c x �xd �?e y f zg abb
h A�����ſ������ B�� Cǿ��� D����� E���˿������ F� G�������� H����� I���Ͽ������  J� K���� L������ M�� Nѿ���� O�����ؿ������� P�� Q R����� S����� T����� U���ܿ� ������� V� W����� X�� Yݿ����� Z������[?12l[?25h[?25l[?12l[?25h[?25l
/[?12l[?25h [[=a=]]* [[=b=]]* [[=c=]]* [[=d=]]* [[=e=]]* [[=f=]]* [[=g=]]* [[=h=]]* [[=i=
]]* [[=j=]]* [[=k=]]* [[=l=]]* [[=m=]]* [[=n=]]* [[=o=]]* [[=p=]]* [[=q=]]* [[=r
=]]* [[=s=]]* [[=t=]]* [[=u=]]* [[=v=]]* [[=w=]]* [[=x=]]* [[=y=]]* [[=z=]]*/e
[?25lPress ENTER or type command to continue[?12l[?25h[?25l1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
6 x aa$ x7 (a)(b) abba8 axx ab]xx9 ��x �xa ��x �xb �?�?�?c x �xd �?e y f zg abb
h A�����ſ������ B�� Cǿ��� D����� E���˿������ F� G�������� H����� I���Ͽ������  J� K���� L������ M�� Nѿ���� O�����ؿ������� P�� Q R����� S����� T����� U���ܿ� ������� V� W����� X�� Yݿ����� Z�����
i a�����忿����� b�� c翿�� d����� e���뿿����� f� g�������� h������ i���￿����  j�� k���� l������ m�� n񿿿��� o�������������� p�� q r����� s����� t������ u��� ���������� v� w������ x�� y�������� z������[?12l[?25h[?25l[?12l[?25h[?25l
:[?12l[?25h" Test backwards search from a multi-byte char
[?25l[?12l[?25h[?25l/[?12l[?25hx
[?25l
j 0123�x[?12l[?25h[?25l[?12l[?25h[?25l
?[?12l[?25h.
[?25l[?12l[?25h[?25l�[?12l[?25h[?25l:[?12l[?25hlet @w=':%s#comb[i]nations#����mmm���#g'
[?25l[?12l[?25h[?25l:[?12l[?25h@w
[?25l
k ��m�[?12l[?25h[?25l
:[?12l[?25h?^1?,$w! test.out
[?25l"test.out" [New] 20L, 1011C written[?12l[?25h[?25l:[?12l[?25he! test.out
[?25l"test.out" 20L, 1011C1 a aa abb abbcc
2 d dd dee deeff
3 g gg ghh ghhii
4 j jj jkk jkkll
5 m mm mnn mnnoo
6 x aa$ x7 (a)(b) abba
8 axx ab]xx
9 ��x �
a ��x �x
b �?�?�?
c x �x
d �?x
e y
f zg abbh A�����ſ������ B�� Cǿ��� D����� E���˿������ F� G�������� H����� I���Ͽ������  J� K���� L������ M�� Nѿ���� O�����ؿ������� P�� Q R����� S����� T����� U���ܿ� ������� V� W����� X�� Yݿ����� Z�����i a�����忿����� b�� c翿�� d����� e���뿿����� f� g�������� h������ i���￿����  j�� k���� l������ m�� n񿿿��� o�������������� p�� q r����� s����� t������ u��� ���������� v� w������ x�� y�������� z�����
j 012�[?12l[?25h[?25l
k ��m�[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"����\", \".\", 0, 2) " �
[?25l
�[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"����\", \"..\", 0, 2) " ��
[?25l
��[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"����\", \".\", 0, 0) " �
[?25l
�[?12l[?25h[?25l
:[?12l[?25hput =matchstr(\"����\", \".\", 4, -1) " �
[?25l
�[?12l[?25h[?25l
:[?12l[?25hw!
[?25l"test.out" 24L, 1025C written[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test45.failed test.ok test.out X* viminfo
cp test45.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test45.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test45.in" 80L, 1824C[>cTests for folding. vim: set ft=vim :
STARTTEST
:so small.vim
:" We also need the +syntax feature here.
:if !has("syntax")
e! test.ok
w! test.out
qa!
:endif
:" basic test if a fold can be created, opened, moving to the end and closed
/^1
zf2j:call append("$", "manual " . getline(foldclosed(".")))
zo:call append("$", foldclosed("."))
]z:call append("$", getline("."))
zc:call append("$", getline(foldclosed(".")))
:" test folding with markers.
:set fdm=marker fdl=1 fdc=3
/^5
:call append("$", "marker " . foldlevel("."))
[z:call append("$", foldlevel("."))
jo{{ ^[r{jj:call append("$", foldlevel("."))
kYpj:call append("$", foldlevel("."))[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for folding. vim: set ft=vim :[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 63L, 1691C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:set fdm=expr fde=Flvl()
/bb$
:call append("$", "expr " . foldlevel("."))
/hh$
:call append("$", foldlevel("."))
/ii$
:call append("$", foldlevel("."))
/kk$
:call append("$", foldlevel("."))
:/^last/+1,$w! test.out
:delfun Flvl
:qa!
ENDTEST
1 aa
2 bb
3 cc
4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg
8 hh
9 ii[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" We also need the +syntax feature here.
[?25l[?12l[?25h[?25l:[?12l[?25hif !has("syntax")
[?25l
: [?12l[?25h e! test.ok
[?25l: [?12l[?25h w! test.out
[?25l: [?12l[?25h qa!
[?25l: [?12l[?25h:endif
[?25l:set fdm=expr fde=Flvl()
/bb$
:call append("$", "expr " . foldlevel("."))
/hh$[?12l[?25h[?25l:[?12l[?25h" basic test if a fold can be created, opened, moving to the end and closed
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l[?12l[?25h[?25l+-- 3 lines: 1 aa--------------------------------------------------------------4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg8 hh9 ii
a jj
b kk[?12l[?25h[?25l:[?12l[?25hcall append("$", "manual " . getline(foldclosed(".")))
[?25l[?12l[?25h[?25l1 aa2 bb3 cc4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg
8 hh
9 ii[?12l[?25h[?25l:[?12l[?25hcall append("$", foldclosed("."))
[?25l[?12l[?25h
[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l+-- 3 lines: 1 aa--------------------------------------------------------------4 dd {{{
5 ee {{{ }}}
6 ff }}}
7 gg8 hh9 ii
a jj
b kk[?12l[?25h[?25l:[?12l[?25hcall append("$", getline(foldclosed(".")))
[?25l[?12l[?25h[?25l:[?12l[?25h" test folding with markers.
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=marker fdl=1 fdc=3
[?25l :set fdm=expr fde=Flvl()
 /bb$
 :call append("$", "expr " . foldlevel("."))
 /hh$
 :call append("$", foldlevel("."))
 /ii$
 :call append("$", foldlevel("."))
 /kk$
 :call append("$", foldlevel("."))
 :/^last/+1,$w! test.out
 :delfun Flvl
 :qa!
 ENDTEST

1 aa 2 bb 3 cc- 4 dd {{{
|- 5 ee {{{ }}}
| 6 ff }}}
 7 gg
 8 hh
 9 ii[?12l[?25h[?25l/[?12l[?25h^5
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", "marker " . foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l-- INSERT --{{ | 6 ff }}}[?12l[?25h[?25l-{|
|
|[?12l[?25h[?25l
:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l6 ff }}}
 7 gg[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test folding with indent
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=indent sw=2
[?25l
[?12l[?25h[?25l/[?12l[?25h^2 b
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l-- INSERT --- 2 bb[?12l[?25h[?25l-- INSERT --|- 3 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", "indent " . foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test syntax folding
[?25l[?12l[?25h[?25l:[?12l[?25hset fdm=syntax fdl=0
[?25l
[?12l[?25h[?25l:[?12l[?25hsyn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
[?25l++-- 8 lines: 4 dd ----------------------------------------------------------a jjb kklastmanual 1 aa-1[?12l[?25h[?25l:[?12l[?25hsyn region Fd1 start="ee" end="ff" fold contained
[?25l[?12l[?25h[?25l:[?12l[?25hsyn region Fd2 start="gg" end="hh" fold contained
[?25l[?12l[?25h[?25l:[?12l[?25hsyn region Fd3 start="commentstart" end="commentend" fold contained
[?25l[?12l[?25h[?25l 3 cc
 1 aa
 marker 2
 1
 1
 0
 indent 2
 1[?12l[?25h[?25l:[?12l[?25hcall append("$", "folding " . getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l-- INSERT ----4 dd {{{commentstart ||5 ee {{{ }}}
||{{{||6 ff }}}
||6 ff }}}||7 gg
||8 hh
||9 ii
||a jj||b kk
||last
||manual 1 aa
||-1||3 cc[?12l[?25h[?25l-- INSERT -- commentend-
|-
|
[?12l[?25h[?25l:[?12l[?25hset fdl=1
[?25l++--- 3 lines: 5 ee --------------------------------------------------------- 6 ff }}}++--- 2 lines: 7 gg----------------------------------------------------------9 ii a jj
 b kk
 lastmanual 1 aa-13 cc1 aamarker 21[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25hset fdl=0
[?25l++-- 8 lines: 4 dd commentstart commentend---------------------------------- a jj b kk last manual 1 aa-13 cc1 aarker 2110indent[?12l[?25h[?25l
-4 dd {{{commentstart commentend|-5 ee {{{ }}}
||{{{||6 ff }}}
|6 ff }}}|-7 gg
||8 hh
|9 iia jjb kklastmanual 1 aa-13 cc[?12l[?25h[?25l :call append("$", foldlevel("."))
 :/^last/+1,$w! test.out
 :delfun Flvl
 :qa!
 ENDTEST

1 aa
  2 bb
  3 cc
- 4 dd {{{commentstart commentend
|- 5 ee {{{ }}}
|| {{{
|| 6 ff }}}
| 6 ff }}}
|- 7 gg
|| 8 hh
| 9 ii
 a jj
 b kk
 last
 manual 1 aa
 -1
 3 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", getline("."))
[?25l[?12l[?25h[?25l:[?12l[?25h" test expression folding
[?25l[?12l[?25h[?25l:[?12l[?25hfun Flvl()
[?25l
: [?12l[?25h let l = getline(v:lnum)
[?25l: [?12l[?25h if l =~ "bb$"
[?25l: [?12l[?25h return 2
[?25l: [?12l[?25h elseif l =~ "gg$"
[?25l: [?12l[?25h return "s1"
[?25l: [?12l[?25h elseif l =~ "ii$"
[?25l: [?12l[?25h return ">2"
[?25l: [?12l[?25h elseif l =~ "kk$"
[?25l: [?12l[?25h return "0"
[?25l: [?12l[?25h endif
[?25l: [?12l[?25h return "="
[?25l: [?12l[?25hendfun
[?25l :call append("$", foldlevel("."))
 :/^last/+1,$w! test.out
 :delfun Flvl
 :qa!
 ENDTEST

1 aa
  2 bb
  3 cc
- 4 dd {{{commentstart commentend
|- 5 ee {{{ }}}
|| {{{[?12l[?25h[?25l:[?12l[?25hset fdm=expr fde=Flvl()
[?25l++-- 11 lines: 2 bb-----------------------------------------------------------b kk last manual 1 aa -1 3 cc 1 aa marker 2
 1 10indent 21++-- 4 lines: folding 9 ii---------------------------------------------------~ ~ [?12l[?25h[?25l/[?12l[?25hbb$
[?25lsearch hit BOTTOM, continuing at TOP-- 2 bb|| 3 cc
||4 dd {{{commentstart commentend
||5 ee {{{ }}}
||{{{
||6 ff }}}
||6 ff }}}
||7 gg|8 hh
|++--- 2 lines: 9 ii----------------------------------------------------------b kklastmanual 1 aa
 -13 cc1 aa[?12l[?25h[?25l:[?12l[?25hcall append("$", "expr " . foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hhh$
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hii$
[?25l-9 ii||a jjb kklastmanual 1 aa-13 cc[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l/[?12l[?25hkk$
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", foldlevel("."))
[?25l[?12l[?25h[?25l:[?12l[?25h/^last/+1,$w! test.out
[?25l"test.out" [New] 18L, 96C written[?12l[?25h[?25l:[?12l[?25hdelfun Flvl
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test47.failed test.ok test.out X* viminfo
cp test47.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test47.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test47.in" 62L, 1351C[>cTests for vertical splits and filler lines in diff mode
STARTTEST
:so small.vim
:" Disable the title to avoid xterm keeping the wrong one.
:set notitle noicon
/^1
yG:new
pkdd:w! Xtest
ddGpkkrXoxxx^[:w! Xtest2
:file Nop
ggoyyy^[jjjozzzz^[
:vert diffsplit Xtest
:vert diffsplit Xtest2
:" jump to second window for a moment to have filler line appear at start of
:" first window
^W^Wgg^Wpgg:let one = winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
j:let one = one . "-" . winline()
^W^Wgg:let two = winline()[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lTests for vertical splits and filler lines in diff mode[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 52L, 1250C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1:diffoff!
:windo :bw!
:enew
:put =range(4,10)
:1d _
:vnew
:put =range(1,10)
:1d _
:windo :diffthis
:wincmd h
:let w0=line('w0')
:enew
:put =w0
:.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST
1 aa
2 bb
3 cc
4 dd
5 ee[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25h" Disable the title to avoid xterm keeping the wrong one.
[?25l[?12l[?25h[?25l:[?12l[?25hset notitle noicon
[?25l[?12l[?25h[?25l/[?12l[?25h^1
[?25l[?12l[?25h[?25l5 lines yanked[?12l[?25h[?25l:[?12l[?25hnew
[?25l~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [No Name] let w0=line('w0')
:enewput =w0.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST1 aa
2 bb
test47.in [?12l[?25h[?25l5 more lines1 aa2 bb3 cc4 dd5 ee[+][?12l[?25h[?25l
~ [?12l[?25h[?25l:[?12l[?25hw! Xtest
[?25l"Xtest" [New] 5L, 25C writtenXtesta [?12l[?25h[?25l
~ [+][?12l[?25h
[?25l
1 aa[?12l[?25h[?25lX[?12l[?25h[?25l-- INSERT --xxx[?12l[?25h[?25l:[?12l[?25hw! Xtest2
[?25l"Xtest2" [New] 6L, 29C written[?12l[?25h[?25l:[?12l[?25hfile Nop
[?25l"Nop" [Modified][Not edited] line 4 of 6 --66%-- col 3Nop [+]+ [?12l[?25h[?25l-- INSERT --yyy[?12l[?25h
3
X
xx[?25l-- INSERT --zzzz[?12l[?25h
5 e[?25l:[?12l[?25hvert diffsplit Xtest
[?25l"Xtest" 5L, 25C 1 aa |
 2 bb|
 --------------------------------------|
 3 cc|
 4 dd |
 --------------------------------------|
 --------------------------------------|
 5 ee|||| --------------------------------------

~~
Xtest+  ------------------------------------- 2 bb yyy  3 cc X dd  xxx  zzzz  5 ee 1 aa   ~~Nop [+] [?12l[?25h[?25l:[?12l[?25hvert diffsplit Xtest2
[?25l"Xtest2" 6L, 29C ------------------------|
 2 bb|
 ------------------------|
 3 cc|
 X dd |
 xxx |
 ------------------------|
 5 ee|
 1 aa |||
~ ~ 
Xtest2  1 aa | 2 bb| ------------------------| 3 cc| 4 dd | ------------------------| ------------------------| 5 ee|||| ------------------------  ~ ~ Xtest  ------------------------ 2 bb yyy  3 cc X dd  xxx  zzzz  5 ee 1 aa   ~ ~ Nop [+] :let w0=line('w0')
:enew
:put =w0
:.w >> test.out
:unlet! one two three w0
:qa!
ENDTEST
1 aa
2 bb
test47.in [?12l[?25h[?25l:[?12l[?25h" jump to second window for a moment to have filler line appear at start of
[?25l[?12l[?25h[?25l:[?12l[?25h" first window
[?25l[?12l[?25h[?25lXtest2  Xtest [?12l[?25h[?25l[?12l[?25h[?25lXtest2 Xtest  [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet one = one . "-" . winline()
[?25l[?12l[?25h[?25l
Xtest2  Xtest [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet two = two . "-" . winline()
[?25l[?12l[?25h[?25lXtest  Nop [+] [?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25h[?25l[?12l[?25h[?25l:[?12l[?25hlet three = three . "-" . winline()
[?25l[?12l[?25hNop [+]  test47.in [?25l:[?12l[?25hcall append("$", one)
[?25l[+][?12l[?25h[?25l:[?12l[?25hcall append("$", two)
[?25l[?12l[?25h[?25l:[?12l[?25hcall append("$", three)
[?25l[?12l[?25h[?25l:[?12l[?25h$-2,$w! test.out
[?25l"test.out" [New] 3L, 36C written[?12l[?25h[?25l:[?12l[?25h" Test that diffing shows correct filler lines
[?25l[?12l[?25h[?25l:[?12l[?25hdiffoff!
[?25l--
2 bb
3 cc
X dd
xxx
5 ee
1 aa
~
~
~
~ 1 aa 2 bb 3 cc 4 dd 5 ee ~ ~ ~ ~ ~ ~ 2 bbyyy3 ccX ddxxxzzzz5 ee1 aa~ ~ ~ [?12l[?25h[?25l:[?12l[?25hwindo :bw!
[?25l~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25henew
[?25l[?12l[?25h[?25l:[?12l[?25hput =range(4,10)
[?25l7 more lines45678910[?12l[?25h[?25l:[?12l[?25h1d _
[?25l
~ [?12l[?25h[?25l:[?12l[?25hvnew
[?25l ||||||||||||||||||||||~
~
~
~
~
~ [No Name] 45678910~~~~~~~~~~~~~~~[No Name] [+] [?12l[?25h[?25l:[?12l[?25hput =range(1,10)
[?25l10 more lines1
2
3
4
5
6
7
8
9
10 [+][?12l[?25h[?25l:[?12l[?25h1d _
[?25l1
2
3
4
5
6
7
8
9
10
~
~
~
~
~
~
~
~
~
~
~ 
~ [?12l[?25h[?25l:[?12l[?25hwindo :diffthis
[?25l 1 
 2 
 3 
 4
 5
 6
 7
 8
 9
- 10

~~~~~~~~~~~~
[No Name] [+]   ------------------------------------- ------------------------------------- ------------------------------------- 4 5 6 7 8 9- 10            ~~~~~~~~~~~~[No Name] [+] [?12l[?25h[?25l:[?12l[?25hwincmd h
[?25l[No Name] [+] [No Name] [+]  [?12l[?25h[?25l:[?12l[?25hlet w0=line('w0')
[?25l[?12l[?25h[?25l:[?12l[?25henew
[?25lE37: No write since last change (add ! to override)[?12l[?25h[?25l:[?12l[?25hput =w0
[?25l123 45678
 9
-10 -------------------------------------45678 9-10[?12l[?25h[?25l:[?12l[?25h.w >> test.out
[?25l"test.out" 1L, 2C appended[?12l[?25h[?25l:[?12l[?25hunlet! one two three w0
[?25l[?12l[?25h[?25l:[?12l[?25hqa!
[?25l[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test48.failed test.ok test.out X* viminfo
cp test48.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test48.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test48.in" 83L, 1659C[>cThis is a test of 'virtualedit'.
STARTTEST
:so small.vim
:set noswf
:set ve=all
j-dgg
:"
:" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
:" Repeating CTRL-N fixes it. (Mary Ellen Foster)
2/w
C^N^[
:"
:" Using "C" then then <CR> moves the last remaining character to the next
:" line. (Mary Ellen Foster)
j^/are
C^Mare belong to vim^[
:"
:" When past the end of a line that ends in a single character "b" skips
:" that word.
^$15lbC7^[
:"
:" Make sure 'i' works[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lThis is a test of 'virtualedit'.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 61L, 1443C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1^xxxxxxi[This line should contain only the text between the brackets.]^[
:set display=
:"
:" Test for ^Y/^E due to bad w_virtcol value, reported by
:" Roy <royl@netropolis.net>.
^O^[3li^E^[4li^E^[4li^E <-- should show the name of a noted text editor^[
^o^[4li^Y^[4li^Y^[4li^Y <-- and its version number^[-dd
:"
:" Test for yanking and pasting using the small delete register
gg/^foo
dewve"-p
:wq! test.out
ENDTEST
foo, bar
keyword keyw
all your base are belong to us
1 2 3 4 5 6
'i'
'C'
'a'
'A'
'D'
this is a test[?12l[?25h
[?25l:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hset noswf
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=all
[?25l[?12l[?25h
[?25l65 fewer linesthis is a test
this is a test
"r"
"r"
a^Vb^Msd
abcv6efi.him0kl
~ ~ ~ ~ ~ 65 fewer lines[?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
[?25l[?12l[?25h[?25l:[?12l[?25h" Repeating CTRL-N fixes it. (Mary Ellen Foster)
[?25l[?12l[?25h[?25l/[?12l[?25hw
[?25l[?12l[?25h[?25l-- INSERT --
-- Keyword completion (^N^P) -- Searching...
Scanning tags.p-- Keyword completion (^N^P) The only matchord[?12l[?25h[?25l-- Keyword completion (^N^P) The only match-- INSERT --[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Using "C" then then <CR> moves the last remaining character to the next
[?25l[?12l[?25h[?25l:[?12l[?25h" line. (Mary Ellen Foster)
[?25l[?12l[?25h
[?25l/[?12l[?25hare
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l-- INSERT --are belong to vim[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" When past the end of a line that ends in a single character "b" skips
[?25l[?12l[?25h[?25l:[?12l[?25h" that word.
[?25l[?12l[?25h
[?25l-- INSERT --7[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Make sure 'i' works
[?25l[?12l[?25h
'i' [?25l-- INSERT --<-- should be 3 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Make sure 'C' works
[?25l[?12l[?25h
'C' [?25l-- INSERT --<-- should be 3 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Make sure 'a' works
[?25l[?12l[?25h
'a' [?25l-- INSERT --<-- should be 4 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Make sure 'A' works
[?25l[?12l[?25h
'A' [?25l-- INSERT --<-- should be 0 ' '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Make sure 'D' works
[?25l[?12l[?25h
'D' [?25l-- INSERT --<-- 'D' should be intact[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for yank bug reported by Mark Waggoner.
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=block
[?25l[?12l[?25h
[?25l-- VISUAL BLOCK --[?12l[?25h[?25laaa[?12l[?25h[?25laaablock of 4 lines yanked[?12l[?25h[?25l3 more linesa
aa [?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test "r" beyond the end of the line
[?25l[?12l[?25h[?25l:[?12l[?25hset ve=all
[?25l[?12l[?25h[?25l/[?12l[?25h^"r"
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h"r" [?25lx[?12l[?25h[?25l-- INSERT --<-- should be 'x'[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test "r" on a tab
[?25l[?12l[?25h[?25l:[?12l[?25h" Note that for this test, 'ts' must be 8 (the default).
[?25l[?12l[?25h
"r" [?25lx[?12l[?25h[?25l-- INSERT --<-- should be ' x '[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test to make sure 'x' can delete control characters
[?25l[?12l[?25h[?25l:[?12l[?25hset display=uhex
[?25l<16>b<0d>sd[?12l[?25h
[?25l<16>b<0d>sd[?12l[?25h[?25lb<0d>sd[?12l[?25h[?25l<0d>sd[?12l[?25h[?25lsd[?12l[?25h[?25ld[?12l[?25h[?25l[?12l[?25h[?25l-- INSERT --[This line should contain only the text between the brackets.][?12l[?25h[?25l:[?12l[?25hset display=
[?25l[?12l[?25h[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for ^Y/^E due to bad w_virtcol value, reported by
[?25l[?12l[?25h[?25l:[?12l[?25h" Roy <royl@netropolis.net>.
[?25l[?12l[?25h
[?25l-- INSERT --3[?12l[?25h [?25l[?12l[?25h [?25l-- INSERT --v[?12l[?25hv [?25l-- INSERT --i[?12l[?25hi [?25l-- INSERT --m <-- should show the name of a noted text editor[?12l[?25h
[?25l-- INSERT --4[?12l[?25h [?25l[?12l[?25h [?25l-- INSERT --6[?12l[?25h6 [?25l-- INSERT --.[?12l[?25h. [?25l-- INSERT --0 <-- and its version number[?12l[?25h[?25l
[?12l[?25h
[?25l:[?12l[?25h"
[?25l[?12l[?25h[?25l:[?12l[?25h" Test for yanking and pasting using the small delete register
[?25l[?12l[?25h[?25l/[?12l[?25h^foo
[?25lsearch hit BOTTOM, continuing at TOP[?12l[?25h[?25l, bar[?12l[?25h, [?25l-- VISUAL --[?12l[?25h[?25lba[?12l[?25h[?25l[?12l[?25h[?25lfoo[?12l[?25h
keyw[?25l:[?12l[?25hwq! test.out
[?25l"test.out" [New] 23L, 479C written
[?1l>[?12l[?25h[?1049l# For flaky tests retry one time.
# Check if the test.out file matches test.ok.
rm -rf X* test.ok viminfo
rm -rf test49.failed test.ok test.out X* viminfo
cp test49.ok test.ok
# Sleep a moment to avoid that the xterm title is messed up.
# 200 msec is sufficient, but only modern sleep supports a fraction of
# a second, fall back to a second if it fails.
VIMRUNTIME=../../../runtime; export VIMRUNTIME; ../../../build/bin/nvim -u unix.vim -U NONE -i viminfo --noplugin -s dotest.in test49.in
[?1049h[?1h=â–½ [?12;25h[?12l[?25h[?25l"test49.in" 30L, 608C[>cThis is a test of the script language.
If after adding a new test, the test output doesn't appear properly in
test49.failed, try to add one or more "G"s at the line ending in "test.out"
STARTTEST
:so small.vim
:se nomore
:lang mess C
:so test49.vim
GGGGGGGGGGGGGG"rp:.-,$w! test.out
:"
:" make valgrind happy
:redir => funclist
:silent func
:redir END
:for line in split(funclist, "\n")
: let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
: if name != ''
: exe "delfunc " . name
: endif
:endfor
:for v in keys(g:)[?12l[?25h[?25l:[?12l[?25hset nocp nomore
[?25l[?12l[?25h[?25l:[?12l[?25hmap dotest /^STARTTEST^^Mj:set ff=unix cpo-=A^^M:.,/ENDTEST/-1w! Xdotest^^M:set f
f& cpo+=A^^Mnj0:so! Xdotest^^Mdotest
[?25lThis is a test of the script language.[?12l[?25h[?25l/^STARTTEST
[?12l[?25h
[?25l:set ff=unix cpo-=A
[?12l[?25h[?25l:.,/ENDTEST/-1w! Xdotest
"Xdotest" [New] 21L, 378C written[?12l[?25h[?25l:set ff& cpo+=A
[?12l[?25h[?25l/ENDTEST/+-1: silent! exe "unlet " . v
:endfor
:unlet v
:qa![?12l[?25h[?25l
ENDTEST
[?12l[?25h[?25l
:so! Xdotest
[?12l[?25h[?25l:[?12l[?25hso small.vim
[?25l[?12l[?25h[?25l:[?12l[?25hse nomore
[?25l[?12l[?25h[?25l:[?12l[?25hlang mess C
[?25l[?12l[?25h[?25l:[?12l[?25hso test49.vim
[?25lError detected while processing function G:
line 16:
E171: Missing :endif: endwhile
*** Test 1: OK (34695)
function F()
1 Xpath 1" X: 1
2 let first = 1
3 XloopINIT 2 8
4 while 1
5Xloop 1" X: 2 + 0 * 16
6if first
7Xloop 2" X: 4 + 0 * 32
8let first = 0
9XloopNEXT
10break
11else
12Xloop 4" X: 0 + 0 * 64
13return
14endif
15 endwhile
endfunction"/tmp/nvim3AlXs0/1"[noeol] 18L, 528C
15 substitutions on 15 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/1" 15L, 476C written
"test49.in" 30L, 608C
function G()
1 Xpath 256" X: 256 + 0 * 2048
2 let first = 1
3 XloopINIT 512 8
4 while 1
5Xloop 1" X: 512 + 0 * 4096
6if first
7Xloop 2" X: 1024 + 0 * 8192
8let first = 0
9XloopNEXT
10break
11else
12Xloop 4" X: 0 + 0 * 16384
13return
14endif
15if 1 " unmatched :if
16 endwhile
endfunction"/tmp/nvim3AlXs0/2"[noeol] 19L, 588C
16 substitutions on 16 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/2" 16L, 534C written
"test49.in" 30L, 608C
Error detected while processing /tmp/nvim3AlXs0/2:
line 16:
E171: Missing :endif: endwhile
*** Test 2: OK (34695)
*** Test 3: OK (1384648195)
*** Test 4: OK (32883)
function F()
1 if 1
2Xpath 1" X: 1
3let loops = 3
4XloopINIT 2 16
5while loops > 0" 3: 2: 1:
6Xloop 1" X: 2 + 2*16 + 0*16*16
7if (loops == 2)
8Xloop 2" X: 4*16
9return
10Xloop 4" X: 0
11endif
12Xloop 8" X: 16
13let loops = loops - 1
14XloopNEXT
15endwhile
16Xpath 8192" X: 0
17 else
18Xpath 16384" X: 0
19 endif
endfunction"/tmp/nvim3AlXs0/3"[noeol] 22L, 784C
19 substitutions on 19 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/3" 19L, 724C written
"test49.in" 30L, 608C
*** Test 5: OK (32883)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"/tmp/nvim3AlXs0/4" [New] 53L, 1582C written14L, 358C appended26L, 824C appended34L, 986C appended
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/5[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/5" 130L, 2431C appended131L, 2456C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/6[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/6"' -S /tmp/nvim3AlXs0/5[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/6" 21L, 130C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 6: OK (603978947)
Error detected while processing /home/travis/build/neovim/neovim/src/nvim/testdir/test49.vim:
line 976:
E492: Not an editor command: ^Iasdf
line 988:
E492: Not an editor command: ^Iasdf
line 996:
E492: Not an editor command: asdf
line 999:
E492: Not an editor command: asdf | Xpath 32768^I^I^I^I" X: 0
*** Test 7: OK (90563)
Error detected while processing function F:
line 5:
E492: Not an editor command: ^I asdf
line 7:
E492: Not an editor command: ^I asdf | Xpath 8^I^I^I" X: 0
line 19:
E492: Not an editor command: ^I asdf
line 21:
E492: Not an editor command: ^I asdf | Xpath 2048^I^I^I" X: 0
line 29:
E121: Undefined variable: novar
E15: Invalid expression: novar^I^I" returns (default return value 0)
Error detected while processing function G:
line 5:
E492: Not an editor command: ^I asdf^I^I" returns -1
Error detected while processing function H:
line 5:
E492: Not an editor command: ^I asdf^I^I" returns -1
*** Test 8: OK (562493431)
Error detected while processing function F..G..H..I:
line 2:
E492: Not an editor command: asdf^I^I" error
*** Test 9: OK (363)
Error detected while processing /home/travis/build/neovim/neovim/src/nvim/testd
ir/test49.vim:
line 1201:
E15: Invalid expression: | strlen("\"") | Xpath 512^I^I" X: 0
E15: Invalid expression: 1 ||| strlen("\"") | Xpath 512^I^I" X: 0
line 1211:
E15: Invalid expression: | strlen("\"") | Xpath 8192^I^I" X: 0
E15: Invalid expression: 1 ||| strlen("\"") | Xpath 8192^I^I" X: 0
line 1220:
E15: Invalid expression: | strlen("\"") | Xpath 131072^I^I" X: 0
E15: Invalid expression: 1 ||| strlen("\"") | Xpath 131072^I^I" X: 0
*** Test 10: OK (559615)
line 1252:
E492: Not an editor command: asdf^I^I" error
*** Test 11: OK (2049)
1
line 1330:
E492: Not an editor command: asdf^I^I" error
line 1338:
E492: Not an editor command: asdf^I^I" error
*** Test 12: OK (352256)
line 1357:
E121: Undefined variable: asdf
E15: Invalid expression: asdf
line 1368:
E121: Undefined variable: asdf
E15: Invalid expression: asdf | Xpath 32 | endwhile | Xpath 64^I" X: 0
*** Test 13: OK (145)
Error detected while processing function F:
line 8:
E121: Undefined variable: g:boolvar
E15: Invalid expression: g:boolvar^I" possibly undefined
*** Test 14: OK (42413)
E121: Undefined variable: g:boolvar
E15: Invalid expression: g:boolvar | Xloop 8 | else | Xloop 16 | endif " X: 
8
*** Test 15: OK (42413)
line 5:
E583: multiple :else: else^I^I
Error detected while processing function G:
line 5:
E584: :elseif after :else: elseif 1^I^I" aborts function
Error detected while processing function H:
line 7:
E583: multiple :else: else^I^I
Error detected while processing function I:
line 7:
E584: :elseif after :else: elseif 1^I^I" aborts function
*** Test 16: OK (8722)
Error detected while processing function F:
line 18:
E171: Missing :endif: endwhile^I
E171: Missing :endif: endwhile^I
line 34:
E171: Missing :endif: endwhile^I
E171: Missing :endif: endwhile^I
E171: Missing :endif: endwhile^I
line 47:
E580: :endif without :if: ^Iendif^I
E580: :endif without :if: ^Iendif^I
E580: :endif without :if: ^Iendif^I
Error detected while processing /home/travis/build/neovim/neovim/src/nvim/testd
ir/test49.vim:
line 1626:
E171: Missing :endif: endwhile 
*** Test 17: OK (285127993)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/7[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/7" 16L, 304C appended17L, 329C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/8[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set vim
info+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3A
lXs0/8"' -c 'breakadd file 8 /tmp/nvim3AlXs0/7' -S /tmp/nvim3AlXs0/7[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/8" 3L, 6C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/9[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/9" 6L, 127C appended7L, 152C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/10[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set vim
info+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3A
lXs0/10"' -c 'breakadd file 4 /tmp/nvim3AlXs0/9' -S /tmp/nvim3AlXs0/9[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/10" 1L, 5C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/11[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/11" 21L, 486C appended22L, 511C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/12[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set vim
info+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3A
lXs0/12"' -c 'breakadd func 7 F' -S /tmp/nvim3AlXs0/11[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/12" 3L, 18C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/13[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/13" 13L, 364C appended14L, 389C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/14[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set vim
info+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3A
lXs0/14"' -c 'breakadd func 3 G' -S /tmp/nvim3AlXs0/13[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/14" 1L, 9C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 18: OK (67224583)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/15[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/15" 12L, 201C appended13L, 226C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/16[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/16"' -S /tmp/nvim3AlXs0/15[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/16" 2L, 4C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/17[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/17" 12L, 205C appended13L, 230C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/18[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/18"' -S /tmp/nvim3AlXs0/17[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/18" 2L, 7C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/19[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/19" 6L, 122C appended7L, 147C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/20[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/20"' -S /tmp/nvim3AlXs0/19[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/20" 1L, 5C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/21[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/21" 8L, 176C appended9L, 201C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/22[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/22"' -S /tmp/nvim3AlXs0/21[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/22" 1L, 6C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/23[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/23" 10L, 215C appended11L, 240C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/24[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/24"' -S /tmp/nvim3AlXs0/23[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/24" 1L, 8C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/25[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/25" 7L, 149C appended8L, 174C8L, 173C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/26[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/26"' -S /tmp/nvim3AlXs0/25[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/26" 1L, 9C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 19: OK (69275973)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/27[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/27" 9L, 135C appended10L, 160C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/28[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/28"' -S /tmp/nvim3AlXs0/27[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/28" 2L, 4C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/29[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/29" 10L, 155C appended11L, 180C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/30[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/30"' -S /tmp/nvim3AlXs0/29[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/30" 3L, 8C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/31[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/31" 12L, 204C appended13L, 229C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/32[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/32"' -S /tmp/nvim3AlXs0/31[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/32" 4L, 18C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/33[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/33" 12L, 214C appended13L, 239C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/34[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/34"' -S /tmp/nvim3AlXs0/33[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/34" 4L, 22C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/35[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/35" 12L, 211C appended13L, 236C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/36[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/36"' -S /tmp/nvim3AlXs0/35[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/36" 3L, 22C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/37[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/37" 14L, 263C appended15L, 288C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/38[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/38"' -S /tmp/nvim3AlXs0/37[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/38" 4L, 34C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/39[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/39" 14L, 277C appended15L, 302C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/40[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/40"' -S /tmp/nvim3AlXs0/39[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/40" 4L, 40C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 20: OK (1874575085)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/41[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/41" 58L, 1022C appended59L, 1047C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/42[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/42"' -S /tmp/nvim3AlXs0/41[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/42" 9L, 56C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 21: OK (147932225)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/43[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/43" 23L, 418C appended24L, 443C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/44[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/44"' -S /tmp/nvim3AlXs0/43[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/44" 1L, 2C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/45[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/45" 23L, 437C appended24L, 462C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/46[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set vim
info+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3A
lXs0/46"' -c 'breakadd func 2 Interrupt' -S /tmp/nvim3AlXs0/45[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/46" 1L, 3C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/47[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/47" 21L, 386C appended22L, 411C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/48[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/48"' -S /tmp/nvim3AlXs0/47[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/48" 1L, 5C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 22: OK (4161)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/49[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/49" 25L, 432C appended26L, 457C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/50[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/50"' -S /tmp/nvim3AlXs0/49[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/50" 3L, 8C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 23: OK (49)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/51[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/51" 16L, 392C appended17L, 417C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/52[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/52"' -S /tmp/nvim3AlXs0/51[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/52" 3L, 7C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 24: OK (41)
*** Test 25: OK (260177811)
*** Test 26: OK (1681500476)
*** Test 27: OK (1996459)
function F()
1 try
2Xpath 1" X: 1
3try
4Xpath 2" X: 2
5return
6Xpath 4" X: 0
7finally
8Xpath 8" X: 8
9endtry
10Xpath 16" X: 0
11 finally
12Xpath 32" X: 32
13 endtry
14 Xpath 64" X: 0
endfunction"/tmp/nvim3AlXs0/53"[noeol] 17L, 552C
14 substitutions on 14 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/53" 14L, 502C written
"test49.in" 30L, 608C
function G()
1 try
2Xpath 128" X: 128
3return
4Xpath 256" X: 0
5 finally
6Xpath 512" X: 512
7call F()
8Xpath 1024" X: 1024
9 endtry
10 Xpath 2048" X: 0
endfunction"/tmp/nvim3AlXs0/54"[noeol] 13L, 406C
10 substitutions on 10 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/54" 10L, 381C written
"test49.in" 30L, 608C
function H()
1 try
2Xpath 4096" X: 4096
3call G()
4Xpath 8192" X: 8192
5 finally
6Xpath 16384" X: 16384
7return
8Xpath 32768" X: 0
9 endtry
10 Xpath 65536" X: 0
endfunction"/tmp/nvim3AlXs0/55"[noeol] 13L, 409C
10 substitutions on 10 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/55" 10L, 384C written
"test49.in" 30L, 608C
*** Test 28: OK (1996459)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/56[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/56" 39L, 721C appended40L, 746C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/57[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/57"' -S /tmp/nvim3AlXs0/56[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/57" 6L, 21C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/58[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/58" 23L, 509C appended24L, 534C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/59[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/59"' -S /tmp/nvim3AlXs0/58[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/59" 4L, 34C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 29: OK (170428555)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/60[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/60" 60L, 1101C appended61L, 1126C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/61[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreed
y|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/t
mp/nvim3AlXs0/61"' -c 'breakadd func 3 F' -c 'breakadd file 19 /tmp/nvim3AlXs0/6
0' -c 'breakadd file 31 /tmp/nvim3AlXs0/60' -S /tmp/nvim3AlXs0/60[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/61" 16L, 89C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 30: OK (190905173)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/62[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/62" 60L, 1122C appended61L, 1147C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/63[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/63"' -S /tmp/nvim3AlXs0/62[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/63" 16L, 89C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 31: OK (190905173)
*** Test 32: OK (354833067)
*** Test 33: OK (1216907538)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/64[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/64" 63L, 1288C appended64L, 1313C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/65[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'd
ebuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimRes
ult = "/tmp/nvim3AlXs0/65"' -c 'breakadd func 16 C' -S /tmp/nvim3AlXs0/64[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/65" 17L, 127C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 34: OK (2146584868)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/66[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/66" 63L, 1285C appended64L, 1310C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/67[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'd
ebuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimRes
ult = "/tmp/nvim3AlXs0/67"' -c 'breakadd func 16 B' -S /tmp/nvim3AlXs0/66[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/67" 17L, 127C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 35: OK (2146584868)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/68[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/68" 66L, 1430C appended67L, 1455C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/69[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debu
ggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult
= "/tmp/nvim3AlXs0/69"' -c 'breakadd func 16 R' -S /tmp/nvim3AlXs0/68[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/69" 9L, 81C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 36: OK (1071644672)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/70[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/70" 73L, 1488C appended74L, 1513C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/71[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'debuggreedy|set viminf
o+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs
0/71"' -c 'breakadd func 16 F' -S /tmp/nvim3AlXs0/70[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/71" 9L, 81C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 37: OK (1071644672)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/72[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/72" 82L, 1519C appended83L, 1544C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/73[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'd
ebuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimRes
ult = "/tmp/nvim3AlXs0/73"' -c 'breakadd func 16 E' -S /tmp/nvim3AlXs0/72[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/73" 8L, 63C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 38: OK (357908480)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/74[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/74" 83L, 1538C appended84L, 1563C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/75[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim
-u NONE -N -Xes -c 'debuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1
'-c 'let ExtraVimResult = "/tmp/nvim3AlXs0/75"' -c 'breakadd func 16 I' -c 'bre
akadd func 22 I' -S /tmp/nvim3AlXs0/74[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/75" 8L, 63C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 39: OK (357908480)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/76[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/76" 82L, 1519C appended83L, 1544C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/77[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q^Mq^Mq^Mq^Mq^Mq^Mq^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'd
ebuggreedy|set viminfo+=nviminfo' -c 'let ExtraVimBegin = 1' -c 'let ExtraVimRes
ult = "/tmp/nvim3AlXs0/77"' -c 'breakadd func 16 T' -S /tmp/nvim3AlXs0/76[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/77" 8L, 63C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
*** Test 40: OK (357908480)
*** Test 41: OK (3076095)
*** Test 42: OK (1505155949)
*** Test 43: OK (1157763329)
*** Test 44: OK (1031761407)
*** Test 45: OK (1157763329)
*** Test 46: OK (739407)
*** Test 47: OK (371213935)
*** Test 48: OK (756255461)
*** Test 49: OK (179000669)
function C()
1 try
2Xpath 1" X: 1
3throw "arrgh"
4Xpath 2" X: 0
5 catch /arrgh/
6Xpath 4" X: 4
7 endtry
8 Xpath 8" X: 8
endfunction"/tmp/nvim3AlXs0/78"[noeol] 11L, 334C
8 substitutions on 8 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/78" 8L, 295C written
"test49.in" 30L, 608C
function T1()
1 XloopNEXT
2 try
3Xloop 1" X: 16 + 16*16
4throw "arrgh"
5Xloop 2" X: 0
6 finally
7Xloop 4" X: 64 + 64*16
8 endtry
9 Xloop 8" X: 0
endfunction"/tmp/nvim3AlXs0/79"[noeol] 12L, 364C
9 substitutions on 9 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/79" 9L, 323C written
"test49.in" 30L, 608C
function T2()
1 try
2Xpath 4096" X: 4096
3call T1()
4Xpath 8192" X: 0
5 finally
6Xpath 16384" X: 16384
7 endtry
8 Xpath 32768" X: 0
endfunction"/tmp/nvim3AlXs0/80"[noeol] 11L, 332C
8 substitutions on 8 lines
Pattern not found: ^\s*$
"/tmp/nvim3AlXs0/80" 8L, 308C written
"test49.in" 30L, 608C
*** Test 50: OK (363550045)
*** Test 51: OK (40744667)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/82[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/82" 2L, 41C appended3L, 66C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/83[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir END' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'letExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/83"' -S /tmp/nvim
3AlXs0/82[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/83" 1L, 2C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 8L, 188C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/84[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/84" 7L, 115C appended8L, 140C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/85[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/85"' -S /tmp/nvim
3AlXs0/84[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/85" 1L, 2C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 8L, 187C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/86[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/86" 12L, 180C appended13L, 205C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/87[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/87"' -S /tmp/nvim
3AlXs0/86[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/87" 2L, 8C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 10L, 215C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/88[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/88" 8L, 139C appended9L, 164C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/89[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/89"' -S /tmp/nvim
3AlXs0/88[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/89" 2L, 11C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 10L, 226C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/90[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/90" 5L, 87C appended6L, 112C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/91[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q^Mq' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir
END' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c
'let ExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/91"' -c 'break
add file 4 /tmp/nvim3AlXs0/90' -S /tmp/nvim3AlXs0/90[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/91" 1L, 7C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" [noeol] 7L, 154C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/92[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/92" 7L, 189C appended8L, 214C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/93[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/93"' -S /tmp/nvim
3AlXs0/92[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/93" 1L, 8C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 9L, 258C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/94[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/94" 7L, 199C appended8L, 224C8L, 223C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/95[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/81' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/95"' -S /tmp/nvim
3AlXs0/94[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/95" 1L, 10C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/81" 9L, 220C
"test49.in" 30L, 608C
*** Test 52: OK (1247112011)
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/97[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/97" 1L, 10C appended2L, 35C2L, 34C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/98[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/98"' -S /tmp/nvim
3AlXs0/97[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/98" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 157C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/99[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/99" 3L, 39C appended4L, 64C
3 substitutions on 3 lines
"/tmp/nvim3AlXs0/99"4L, 61C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/100[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/100"' -S /tmp/nvi
m3AlXs0/99[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/100" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 161C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/101[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/101" 4L, 45C appended5L, 70C
4 substitutions on 4 lines
"/tmp/nvim3AlXs0/101" 5L, 66C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/102[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/102"' -S /tmp/nvi
m3AlXs0/101[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/102" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 162C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/103[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/103" 3L, 33C appended4L, 58C
3 substitutions on 3 lines
"/tmp/nvim3AlXs0/103" 4L, 55C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/104[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/104"' -S /tmp/nvi
m3AlXs0/103[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/104" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 162C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/105[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/105" 5L, 65C appended6L, 90C
5 substitutions on 5 lines
"/tmp/nvim3AlXs0/105" 6L, 85C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/106[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/106"' -S /tmp/nvi
m3AlXs0/105[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/106" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 162C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/107[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/107" 1L, 9C appended2L, 34C2L, 33C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/108[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/108"' -S /tmp/nvi
m3AlXs0/107[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/108" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 156C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/109[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/109" 3L, 38C appended4L, 63C
3 substitutions on 3 lines
"/tmp/nvim3AlXs0/109" 4L, 60C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/110[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/110"' -S /tmp/nvi
m3AlXs0/109[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/110" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 160C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/111[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/111" 4L, 44C appended5L, 69C
4 substitutions on 4 lines
"/tmp/nvim3AlXs0/111" 5L, 65C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/112[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/112"' -S /tmp/nvi
m3AlXs0/111[?1l>[?12l[?25h[?1049l
shell returned 1
Press ENTER or type command to continue[?1049h[?1h=[?25l"/tmp/nvim3AlXs0/112" 0L, 0C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
"test49.in" 30L, 608C
"/tmp/nvim3AlXs0/96" 6L, 160C
"test49.in" 30L, 608C
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!echo 'source /tmp/nvim3AlXs0/4' >/tmp/nvim3AlXs0/113[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=[?25l/^\s*if\s\+ExtraVim(.*)/+
1
"/tmp/nvim3AlXs0/113" 3L, 32C appended4L, 57C
3 substitutions on 3 lines
"/tmp/nvim3AlXs0/113" 4L, 54C written
"~/build/neovim/neovim/src/nvim/testdir/test49.vim" [readonly] 9852L, 225436C
:!>/tmp/nvim3AlXs0/114[?1l>[?12l[?25h[?1049l
Press ENTER or type command to continue[?1049h[?1h=
[?25l:!echo 'q' | ../../../build/bin/nvim -u NONE -N -Xes -c 'au VimLeave * redir EN
D' -c 'redir! >/tmp/nvim3AlXs0/96' -c 'debuggreedy|set viminfo+=nviminfo' -c 'le
tExtraVimBegin = 1' -c 'let ExtraVimResult = "/tmp/nvim3AlXs0/114"' -S /tmp/nvi
m3AlXs0/113[?1l>[?12l[?25h[?1049l
No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment